This commit is contained in:
Dario48 2026-03-07 13:29:57 +01:00
commit e685165044
13 changed files with 88 additions and 2 deletions

8
after/ftplugin/cabal.lua Normal file
View file

@ -0,0 +1,8 @@
local conf = vim.lsp.config.hls
vim.lsp.config("hls", conf)
vim.lsp.enable("hls")
vim.o.tabstop = 2
vim.o.softtabstop = 0
vim.o.shiftwidth = 0
vim.o.expandtab = true

View file

@ -0,0 +1,8 @@
local conf = vim.lsp.config.hls
vim.lsp.config("hls", conf)
vim.lsp.enable("hls")
vim.o.tabstop = 2
vim.o.softtabstop = 0
vim.o.shiftwidth = 0
vim.o.expandtab = true

3
after/ftplugin/nix.lua Normal file
View file

@ -0,0 +1,3 @@
vim.opt.expandtab = true -- expand tab input with spaces characters
vim.opt.tabstop = 2 -- num of space characters per tab
vim.opt.shiftwidth = 2 -- spaces per indentation level