diff options
author | Yigit Sever | 2019-08-22 21:46:49 +0300 |
---|---|---|
committer | Yigit Sever | 2019-08-22 21:46:49 +0300 |
commit | 60ef5708eec5f6ccd9a3e1f503478a2076f0627e (patch) | |
tree | 9ac80fa5216ded012f0505e535ff32f7dcb55b1b /.config | |
parent | 1846a60eb5ec2ef475146486501c3b7640927108 (diff) | |
download | dotfiles-60ef5708eec5f6ccd9a3e1f503478a2076f0627e.tar.gz dotfiles-60ef5708eec5f6ccd9a3e1f503478a2076f0627e.tar.bz2 dotfiles-60ef5708eec5f6ccd9a3e1f503478a2076f0627e.zip |
Track c and tex ft vim files
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/after/ftplugin/c.vim | 3 | ||||
-rw-r--r-- | .config/nvim/after/ftplugin/tex.vim | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/.config/nvim/after/ftplugin/c.vim b/.config/nvim/after/ftplugin/c.vim new file mode 100644 index 0000000..73fdd4b --- /dev/null +++ b/.config/nvim/after/ftplugin/c.vim | |||
@@ -0,0 +1,3 @@ | |||
1 | setlocal shiftwidth=8 | ||
2 | setlocal tabstop=8 | ||
3 | setlocal expandtab | ||
diff --git a/.config/nvim/after/ftplugin/tex.vim b/.config/nvim/after/ftplugin/tex.vim new file mode 100644 index 0000000..280c44b --- /dev/null +++ b/.config/nvim/after/ftplugin/tex.vim | |||
@@ -0,0 +1,9 @@ | |||
1 | call sandwich#util#addlocal([{ | ||
2 | \ 'buns': ['\textbf{', '}'], | ||
3 | \ 'input': ['B'], | ||
4 | \ }]) | ||
5 | |||
6 | call sandwich#util#addlocal([{ | ||
7 | \ 'buns': ['\emph{', '}'], | ||
8 | \ 'input': ['E'], | ||
9 | \ }]) | ||