Fix stupid indentation default for c-like languages

This commit is contained in:
Ivar Fatland
2025-03-06 09:28:21 +01:00
parent 7e1134b15c
commit 92d02bccae
+2
View File
@@ -79,6 +79,8 @@ vim.g.python_indent = { -- Fixes retarded default python indentation.
closed_paren_align_last_line = false, closed_paren_align_last_line = false,
searchpair_timeout = 300, searchpair_timeout = 300,
} }
-- Fix retarded default indenting for c-like languages
vim.o.cinoptions = vim.o.cinoptions .. "(s"
local function file_exists(name) --{{{1 local function file_exists(name) --{{{1
local f = io.open(name,"r") local f = io.open(name,"r")