aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/share/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.local/share/nvim')
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/c.vim5
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/cpp.vim5
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/javascript.vim1
-rw-r--r--dotfiles/.local/share/nvim/site/after/ftplugin/toml.vim21
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: