aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2022-05-25 23:37:27 +0200
committerTeddy Wing2022-05-26 17:29:55 +0200
commitf62da435d5b57fadee01ac32ffa08beb4488031f (patch)
tree6db6d015e941d1329e6750a372a4633305d19e4c
parent55fe5f554dc15e4a2c4cf8339b3ae1efb9f7de2f (diff)
downloaddotvim-f62da435d5b57fadee01ac32ffa08beb4488031f.tar.bz2
vimrc: Don't let Paredit change filetype plugin and indent settings
Paredit turns filetype indent on globally, messing up all files, not just Lisp files. Prevent Paredit from changing these settings. I don't think we really need Paredit's filetype indent as that's already handled by Vlime.
-rw-r--r--vimrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index e57112a..cf6a9ff 100644
--- a/vimrc
+++ b/vimrc
@@ -485,6 +485,9 @@
" 2021.09.15:
" * Add `<C-w>N` to open a new empty buffer in a vertical split.
"
+" 2022.05.25:
+" * Prevent Paredit from changing filetype plugin and indent settings.
+"
" Pathogen
@@ -713,6 +716,11 @@ let g:slimv_impl = 'sbcl'
let g:slimv_swank_cmd = '! screen -d -m -t REPL-SBCL sbcl --load ~/.vim/bundle/slimv/slime/start-swank.lisp'
+" Paredit
+let g:paredit_disable_ftplugin = 1
+let g:paredit_disable_ftindent = 1
+
+
" Go
let g:go_version_warning = 0
let g:go_fmt_command = 'goimports'