use spaces as tabs, make .h files be treated as c headers, not c++

This commit is contained in:
2024-11-18 15:29:14 +01:00
parent 7b3f194aac
commit 04b391a854
+2 -1
View File
@@ -7,7 +7,7 @@ vim.opt.relativenumber = true
vim.opt.tabstop = 2 vim.opt.tabstop = 2
vim.opt.softtabstop = 2 vim.opt.softtabstop = 2
vim.opt.shiftwidth = 2 vim.opt.shiftwidth = 2
vim.opt.expandtab = false vim.opt.expandtab = true
vim.opt.smartindent = true vim.opt.smartindent = true
@@ -30,4 +30,5 @@ vim.opt.updatetime = 50
vim.opt.colorcolumn = "80" vim.opt.colorcolumn = "80"
vim.g.c_syntax_for_h = 1
vim.g.mapleader = " " vim.g.mapleader = " "