ArchInstall/.config/nvim/lua/settings.lua

14 lines
439 B
Lua

-- Set basic options
vim.o.number = true -- Show line numbers
vim.o.relativenumber = true -- Show relative line numbers
vim.o.tabstop = 4 -- Number of spaces tabs count for
vim.o.shiftwidth = 4 -- Number of spaces to use for each step of (auto)indent
vim.o.expandtab = true -- Convert tabs to spaces
vim.o.smartindent = true -- Insert indents automatically
vim.filetype.add({
pattern = {
[".*/etc/nginx/.*/.*%.conf"] = "nginx",
},
})