diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-09-12 21:59:39 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-09-12 21:59:39 +0300 |
commit | 639d95337f8b58c43c4115cf83cb0c278a621db1 (patch) | |
tree | 1fe51489127ce02c4fbde53b1f35da2126c9a8ac /dotfiles/.local/share/nvim/site/after | |
parent | b591d88fcc78c77594668524c8f0522726344795 (diff) | |
download | vimrice-639d95337f8b58c43c4115cf83cb0c278a621db1.tar.gz vimrice-639d95337f8b58c43c4115cf83cb0c278a621db1.zip |
Changes to file syntax config files
Mostly added syntax foldmethod to C, C++, and JS files.
Diffstat (limited to 'dotfiles/.local/share/nvim/site/after')
4 files changed, 7 insertions, 25 deletions
diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/c.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/c.vim index 810fd8f..acc39c9 100644 --- a/dotfiles/.local/share/nvim/site/after/ftplugin/c.vim +++ b/dotfiles/.local/share/nvim/site/after/ftplugin/c.vim @@ -1,2 +1,3 @@ -setlocal shiftwidth=2 -setlocal tabstop=2 +setlocal shiftwidth=4 +setlocal tabstop=4 +setlocal foldmethod=syntax diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/cpp.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/cpp.vim index 810fd8f..acc39c9 100644 --- a/dotfiles/.local/share/nvim/site/after/ftplugin/cpp.vim +++ b/dotfiles/.local/share/nvim/site/after/ftplugin/cpp.vim @@ -1,2 +1,3 @@ -setlocal shiftwidth=2 -setlocal tabstop=2 +setlocal shiftwidth=4 +setlocal tabstop=4 +setlocal foldmethod=syntax diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/javascript.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/javascript.vim index 810fd8f..1f0cb33 100644 --- a/dotfiles/.local/share/nvim/site/after/ftplugin/javascript.vim +++ b/dotfiles/.local/share/nvim/site/after/ftplugin/javascript.vim @@ -1,2 +1,3 @@ setlocal shiftwidth=2 setlocal tabstop=2 +setlocal foldmethod=syntax diff --git a/dotfiles/.local/share/nvim/site/after/ftplugin/toml.vim b/dotfiles/.local/share/nvim/site/after/ftplugin/toml.vim deleted file mode 100644 index 9075e88..0000000 --- a/dotfiles/.local/share/nvim/site/after/ftplugin/toml.vim +++ /dev/null @@ -1,21 +0,0 @@ -" File: ftplugin/toml.vim -" Author: Kevin Ballard <kevin@sb.org> -" Description: FileType Plugin for Toml -" Last Change: Feb 12, 2019 - -if exists('b:did_ftplugin') - finish -endif -let b:did_ftplugin = 1 - -let s:save_cpo = &cpo -set cpo&vim -let b:undo_ftplugin = 'setlocal commentstring< comments<' - -setlocal commentstring=#\ %s -setlocal comments=:# - -let &cpo = s:save_cpo -unlet s:save_cpo - -" vim: set et sw=4 ts=4: |