mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
feat(vim): Set systemd file type for service, socket, timer, mount,
target, path files
This commit is contained in:
1
common/.config/nvim/ftdetect
Symbolic link
1
common/.config/nvim/ftdetect
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../../.vim/ftdetect
|
||||||
6
common/.vim/ftdetect/systemd.vim
Normal file
6
common/.vim/ftdetect/systemd.vim
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
au BufRead,BufNewFile *.service set filetype=systemd
|
||||||
|
au BufRead,BufNewFile *.socket set filetype=systemd
|
||||||
|
au BufRead,BufNewFile *.timer set filetype=systemd
|
||||||
|
au BufRead,BufNewFile *.mount set filetype=systemd
|
||||||
|
au BufRead,BufNewFile *.target set filetype=systemd
|
||||||
|
au BufRead,BufNewFile *.path set filetype=systemd
|
||||||
Reference in New Issue
Block a user