mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
add(nvim): skel syntax highlighting
This commit is contained in:
parent
5eb005ac9a
commit
0a6620be4a
2 changed files with 85 additions and 0 deletions
|
|
@ -63,6 +63,8 @@ api.nvim_create_autocmd("FileType", {
|
|||
callback = function() vim.cmd("setlocal iskeyword+=$") end,
|
||||
})
|
||||
|
||||
-- Using `sudoedit` would create gibberish extension names,
|
||||
-- detection using extension would hence not work.
|
||||
api.nvim_create_autocmd("BufEnter", {
|
||||
pattern = { "*Caddyfile*" },
|
||||
callback = function()
|
||||
|
|
@ -72,3 +74,4 @@ api.nvim_create_autocmd("BufEnter", {
|
|||
})
|
||||
|
||||
vim.filetype.add({ extension = { typ = "typst" } })
|
||||
vim.filetype.add({ extension = { skel = "skel", sk = "skel" } })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue