Compare commits

...

2 commits

Author SHA1 Message Date
Bruno BELANYI 6812d777cf home: vim: ftplugin: add bp
All checks were successful
ci/woodpecker/push/check Pipeline was successful
2024-04-12 10:03:28 +00:00
Bruno BELANYI 3e6b9f7161 home: vim: ftdetect: add bp
Unfortunately, the `blueprint` filetype name is already taken...
2024-04-12 10:03:28 +00:00
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,6 @@
" Create the `b:undo_ftplugin` variable if it doesn't exist
call ftplugined#check_undo_ft()
" Add comment format
setlocal commentstring=#\ %s
let b:undo_ftplugin.='|setlocal commentstring<'

View file

@ -0,0 +1,6 @@
-- Use `bp` filetype for Blueprint files
vim.filetype.add({
extension = {
bp = "bp",
},
})