i love aurora (nixcats over nvf)
This commit is contained in:
parent
552d136a48
commit
286a6a938e
20 changed files with 772 additions and 145 deletions
17
homemanager/vim/lua/lsp/indentation.lua
Normal file
17
homemanager/vim/lua/lsp/indentation.lua
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = "lua",
|
||||
callback = function()
|
||||
vim.opt_local.shiftwidth = 2
|
||||
vim.opt_local.tabstop = 2
|
||||
vim.opt_local.expandtab = true
|
||||
end,
|
||||
})
|
||||
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = "nix",
|
||||
callback = function()
|
||||
vim.opt_local.shiftwidth = 2
|
||||
vim.opt_local.tabstop = 2
|
||||
vim.opt_local.expandtab = true
|
||||
end,
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue