diff --git a/coc-settings.json b/coc-settings.json index 689eaad..0b7c272 100644 --- a/coc-settings.json +++ b/coc-settings.json @@ -5,6 +5,7 @@ "python.analysis.diagnosticSeverityOverrides":{ "reportUnboundVariable":"none" }, - "hover.target": "preview" + "hover.target": "preview", + "clangd.path": "~/.config/coc/extensions/coc-clangd-data/install/16.0.2/clangd_16.0.2/bin/clangd" } diff --git a/ftplugin/cpp.vim b/ftplugin/cpp.vim index 771a08c..27ee871 100644 --- a/ftplugin/cpp.vim +++ b/ftplugin/cpp.vim @@ -1 +1,5 @@ map : w % ! make +set tw=100 +set colorcolumn=100 + + diff --git a/ftplugin/python.vim b/ftplugin/python.vim index 2411984..0ba4aaa 100644 --- a/ftplugin/python.vim +++ b/ftplugin/python.vim @@ -1,2 +1,3 @@ set colorcolumn=100 nmap ;x [hv]h]hk$;sc +set tw=100 diff --git a/init.vim b/init.vim index ff5516f..e001d21 100644 --- a/init.vim +++ b/init.vim @@ -188,3 +188,4 @@ nnoremap "iron.nvim lua require('iron') +set formatoptions-=o