From 057fa8d52d70f87e4b1d65b717f6dd856b32ba96 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sat, 26 Aug 2023 14:35:19 +0300 Subject: nvim: set pkgbuilds ft as pkgbuild --- .config/nvim/after/plugin/autocmds.vim | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.config/nvim/after') 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 * \ if line("'\"") >= 1 && line("'\"") <= line("$") && &ft !~# 'commit' \ | exe "normal! g`\"" \ | endif + +augroup pkgbuild + autocmd! + autocmd BufRead,BufNewFile PKGBUILD set filetype=PKGBUILD +augroup END -- cgit v1.2.3-70-g09d2