summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/plugin/autocmds.vim
diff options
context:
space:
mode:
authorYigit Sever2023-08-26 14:35:19 +0300
committerYigit Sever2023-08-26 14:35:19 +0300
commit057fa8d52d70f87e4b1d65b717f6dd856b32ba96 (patch)
tree4eb6ba6efe41eb91c26ade468d3ffbbdcc3d4a60 /.config/nvim/after/plugin/autocmds.vim
parent17622b71bccb34112dd17fa2324c48978a3f0dc6 (diff)
downloaddotfiles-057fa8d52d70f87e4b1d65b717f6dd856b32ba96.tar.gz
dotfiles-057fa8d52d70f87e4b1d65b717f6dd856b32ba96.tar.bz2
dotfiles-057fa8d52d70f87e4b1d65b717f6dd856b32ba96.zip
nvim: set pkgbuilds ft as pkgbuild
Diffstat (limited to '.config/nvim/after/plugin/autocmds.vim')
-rw-r--r--.config/nvim/after/plugin/autocmds.vim5
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
16augroup pkgbuild
17 autocmd!
18 autocmd BufRead,BufNewFile PKGBUILD set filetype=PKGBUILD
19augroup END