diff options
author | Yigit Sever | 2023-08-26 14:35:19 +0300 |
---|---|---|
committer | Yigit Sever | 2023-08-26 14:35:19 +0300 |
commit | 057fa8d52d70f87e4b1d65b717f6dd856b32ba96 (patch) | |
tree | 4eb6ba6efe41eb91c26ade468d3ffbbdcc3d4a60 /.config/nvim | |
parent | 17622b71bccb34112dd17fa2324c48978a3f0dc6 (diff) | |
download | dotfiles-057fa8d52d70f87e4b1d65b717f6dd856b32ba96.tar.gz dotfiles-057fa8d52d70f87e4b1d65b717f6dd856b32ba96.tar.bz2 dotfiles-057fa8d52d70f87e4b1d65b717f6dd856b32ba96.zip |
nvim: set pkgbuilds ft as pkgbuild
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/after/plugin/autocmds.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/nvim/after/plugin/autocmds.vim b/.config/nvim/after/plugin/autocmds.vim index 05b7ce9..d249bef 100644 --- a/.config/nvim/after/plugin/autocmds.vim +++ b/.config/nvim/after/plugin/autocmds.vim | |||
@@ -12,3 +12,8 @@ autocmd BufReadPost * | |||
12 | \ if line("'\"") >= 1 && line("'\"") <= line("$") && &ft !~# 'commit' | 12 | \ if line("'\"") >= 1 && line("'\"") <= line("$") && &ft !~# 'commit' |
13 | \ | exe "normal! g`\"" | 13 | \ | exe "normal! g`\"" |
14 | \ | endif | 14 | \ | endif |
15 | |||
16 | augroup pkgbuild | ||
17 | autocmd! | ||
18 | autocmd BufRead,BufNewFile PKGBUILD set filetype=PKGBUILD | ||
19 | augroup END | ||