finally added nix lsp and changed indentation for nix and lua :3 also added haskell bc dea <3

This commit is contained in:
foxora 2026-02-14 20:09:02 +00:00
parent 88c4057aa5
commit efb35f75d4
5 changed files with 40 additions and 6 deletions

View 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,
})