mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
nvim: projet syntax support
This commit is contained in:
parent
fa6e8926f1
commit
630be8a2ab
2 changed files with 70 additions and 0 deletions
|
|
@ -31,6 +31,15 @@ autocmd("FileType", {
|
|||
callback = function() vim.opt_local["commentstring"] = "# %s" end,
|
||||
})
|
||||
|
||||
-- "Projet" language taught at ISTIC
|
||||
autocmd("BufEnter", {
|
||||
pattern = "*.pro",
|
||||
callback = function()
|
||||
vim.opt_local["commentstring"] = "{ %s }"
|
||||
vim.opt_local["filetype"] = "projet"
|
||||
end,
|
||||
})
|
||||
|
||||
autocmd("FileType", {
|
||||
pattern = "skel",
|
||||
callback = function()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue