diff options
author | Shubham Saini <me@ubh.sh> | 2023-10-11 22:57:00 +0000 |
---|---|---|
committer | Shubham Saini <me@ubh.sh> | 2023-10-11 22:57:00 +0000 |
commit | 8930acf046500650a1ae030f21eb3c8289afeaa9 (patch) | |
tree | 1fe1818a5d2994ea5323824d8a47699cfb57bd7f /modules | |
parent | 3b923cdfa8a7332ec50218bb98b5b3d82b2d1dc2 (diff) |
vim: added yaml
Diffstat (limited to 'modules')
-rw-r--r-- | modules/init.vim | 7 |
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 | ||
5 | augroup plaintext | 5 | augroup 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 |
8 | augroup END | 8 | augroup END |
9 | 9 | ||
10 | augroup webdev | 10 | augroup 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> |
14 | augroup END | 14 | augroup END |
15 | 15 | ||
16 | augroup lisp_stuff | ||
17 | autocmd! | ||
18 | autocmd BufReadPost *.lisp set filetype=scheme | ||
19 | augroup END | ||
20 | |||
21 | augroup yankhl | 16 | augroup 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() |