From 60ef5708eec5f6ccd9a3e1f503478a2076f0627e Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 22 Aug 2019 21:46:49 +0300 Subject: Track c and tex ft vim files --- .config/nvim/after/ftplugin/c.vim | 3 +++ .config/nvim/after/ftplugin/tex.vim | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100644 .config/nvim/after/ftplugin/c.vim create mode 100644 .config/nvim/after/ftplugin/tex.vim (limited to '.config') 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 @@ +setlocal shiftwidth=8 +setlocal tabstop=8 +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 @@ +call sandwich#util#addlocal([{ + \ 'buns': ['\textbf{', '}'], + \ 'input': ['B'], +\ }]) + +call sandwich#util#addlocal([{ + \ 'buns': ['\emph{', '}'], + \ 'input': ['E'], +\ }]) -- cgit v1.2.3-70-g09d2