summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorShubham Saini <me@ubh.sh>2023-10-11 22:57:00 +0000
committerShubham Saini <me@ubh.sh>2023-10-11 22:57:00 +0000
commit8930acf046500650a1ae030f21eb3c8289afeaa9 (patch)
tree1fe1818a5d2994ea5323824d8a47699cfb57bd7f /modules
parent3b923cdfa8a7332ec50218bb98b5b3d82b2d1dc2 (diff)
vim: added yaml
Diffstat (limited to 'modules')
-rw-r--r--modules/init.vim7
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/init.vim b/modules/init.vim
index 99b1938..997e6fa 100644
--- a/modules/init.vim
+++ b/modules/init.vim
@@ -4,7 +4,7 @@ let &t_ZM = "\e[3m"
4 4
5augroup plaintext 5augroup plaintext
6 autocmd! 6 autocmd!
7 autocmd FileType text,markdown setlocal ts=2 sts=2 sw=2 expandtab textwidth=60 7 autocmd FileType text,markdown,yaml setlocal ts=2 sts=2 sw=2 expandtab textwidth=60
8augroup END 8augroup END
9 9
10augroup webdev 10augroup webdev
@@ -13,11 +13,6 @@ augroup webdev
13 autocmd FileType less,css,html nnoremap <Leader>s viB:sort<cr> 13 autocmd FileType less,css,html nnoremap <Leader>s viB:sort<cr>
14augroup END 14augroup END
15 15
16augroup lisp_stuff
17 autocmd!
18 autocmd BufReadPost *.lisp set filetype=scheme
19augroup END
20
21augroup yankhl 16augroup yankhl
22 autocmd! 17 autocmd!
23 autocmd TextYankPost * silent! lua require'vim.highlight'.on_yank() 18 autocmd TextYankPost * silent! lua require'vim.highlight'.on_yank()