1
0

Forced my indentation settings for every filetype

This commit is contained in:
2026-06-07 14:39:32 +02:00
parent 9bdda107ea
commit 1023fd5ca9
+10 -3
View File
@@ -14,9 +14,6 @@ vim.opt.termguicolors = true
vim.opt.number = true vim.opt.number = true
vim.opt.relativenumber = true vim.opt.relativenumber = true
vim.opt.cursorline = true vim.opt.cursorline = true
vim.opt.tabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = false
vim.opt.list = true vim.opt.list = true
vim.opt.listchars:append 'space:·' vim.opt.listchars:append 'space:·'
vim.opt.wildmenu = true vim.opt.wildmenu = true
@@ -25,6 +22,16 @@ vim.opt.ignorecase = true
vim.opt.smartcase = true vim.opt.smartcase = true
vim.opt.inccommand = 'split' vim.opt.inccommand = 'split'
vim.opt.foldmethod = 'marker' vim.opt.foldmethod = 'marker'
vim.opt.tabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = false
vim.api.nvim_create_autocmd("FileType", {
callback = function()
vim.bo.tabstop = 4
vim.bo.shiftwidth = 4
vim.bo.expandtab = false
end
})
-- }}} -- }}}
-- Setup Clipboard for OSC 52 {{{ -- Setup Clipboard for OSC 52 {{{