diff options
Diffstat (limited to 'vim.dot.link/ftplugin')
-rw-r--r-- | vim.dot.link/ftplugin/mail.vim | 2 | ||||
-rw-r--r-- | vim.dot.link/ftplugin/markdown.vim | 8 | ||||
-rw-r--r-- | vim.dot.link/ftplugin/python.vim | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/vim.dot.link/ftplugin/mail.vim b/vim.dot.link/ftplugin/mail.vim index f21ff9c..c518239 100644 --- a/vim.dot.link/ftplugin/mail.vim +++ b/vim.dot.link/ftplugin/mail.vim @@ -2,4 +2,4 @@ " " Workaround for mail editing. There must be a plugin enabling autoindent in " mail composition, which is annoying. -set noautoindent +setlocal noautoindent diff --git a/vim.dot.link/ftplugin/markdown.vim b/vim.dot.link/ftplugin/markdown.vim index b40908e..aafef72 100644 --- a/vim.dot.link/ftplugin/markdown.vim +++ b/vim.dot.link/ftplugin/markdown.vim @@ -9,9 +9,9 @@ " These settings are configured directly on filetype.vim instead. " Basic {{{ -"set autoindent smartindent -"set tabstop=2 softtabstop=2 shiftwidth=2 expandtab -"set formatoptions=tcroqn2 comments=n:> +"setlocal autoindent smartindent +"setlocal formatoptions=tcroqn2 comments=n:> +"setlocal tabstop=2 softtabstop=2 shiftwidth=2 expandtab " }}} " Markdown configuration without vim-markdown plugin {{{ @@ -21,7 +21,7 @@ " " This is an alternative to the following method: " https://codereview.stackexchange.com/questions/202620/vim-plugin-for-folding-markdown-lists -"set foldexpr=NestedMarkdownFolds() +"setlocal foldexpr=NestedMarkdownFolds() " }}} " Markdown configuration with vim-markdown plugin {{{ diff --git a/vim.dot.link/ftplugin/python.vim b/vim.dot.link/ftplugin/python.vim index 3e27472..047760c 100644 --- a/vim.dot.link/ftplugin/python.vim +++ b/vim.dot.link/ftplugin/python.vim @@ -1,2 +1,2 @@ " Python -set autoindent smartindent tabstop=4 softtabstop=4 shiftwidth=4 expandtab +setlocal autoindent smartindent tabstop=4 softtabstop=4 shiftwidth=4 expandtab |