feat: nvim make and hs auto header

This commit is contained in:
AngeD 2023-03-08 10:46:56 +01:00
parent e92b11db9e
commit 99847eda69
6 changed files with 10 additions and 7 deletions

View File

@ -45,8 +45,11 @@ function! TekHppHeader()
call append(15, '};') call append(15, '};')
endfunction endfunction
au BufNewFile *.c call TekHeader() au BufNewFile *.c call TekHeader('c')
au BufNewFile *.cpp call TekHeader() au BufNewFile *.cpp call TekHeader('cpp')
au BufNewFile *.hs call TekHeader('haskell')
au BufNewFile Makefile call TekHeader('make')
au BufNewFile *.h call TekHHeader() au BufNewFile *.h call TekHHeader()
au BufNewFile *.hpp call TekHppHeader() au BufNewFile *.hpp call TekHppHeader()

@ -1 +1 @@
Subproject commit 6a9f922eb6e7412a4e940e20f4d76fd4e0e3feec Subproject commit f3e6c034d103e3476821af596a67df71d76f85a9

@ -1 +1 @@
Subproject commit 1fe908fb4acdcee26573e9ccde0de94ec77e5e84 Subproject commit 4497678c6b1847b663c4b23000d55f28a2f846ce

@ -1 +1 @@
Subproject commit 5a87bc98dabd0d38152a6fa774005f7ecbd40f1b Subproject commit d086563c02a582a552086ea94bfabd5f49d6872a

@ -1 +1 @@
Subproject commit ce3a18ebe95e8aa03f0edfefcb2a37e6c46bb9f4 Subproject commit 3b669aa9c5d26d691c9cf30ac8be3b9c271f4af5

@ -1 +1 @@
Subproject commit 6f3304f442afde6e1cf3e7e8641a405d29d2e73d Subproject commit 3ea0e0d2343a2e79be0c2c6ace030a595d5cec2f