mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-12-04 23:40:32 +00:00
Finally set ft for .jinja.html
This commit is contained in:
parent
e42a93bed7
commit
6117305dfb
2 changed files with 9 additions and 10 deletions
|
@ -5,11 +5,3 @@ vim.api.nvim_create_autocmd("TextYankPost", {
|
|||
vim.highlight.on_yank({ timeout = 1200 })
|
||||
end,
|
||||
})
|
||||
|
||||
-- set ft of .jinja.html files to htmldjango
|
||||
vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {
|
||||
pattern = "*.jinja.html",
|
||||
callback = function()
|
||||
vim.bo.filetype = "htmldjango"
|
||||
end,
|
||||
})
|
||||
|
|
|
@ -45,6 +45,13 @@ o.pumblend = 10
|
|||
|
||||
--
|
||||
|
||||
o.guifont = "JetBrainsMono Nerd Font Mono"
|
||||
|
||||
o.shortmess = o.shortmess .. "S"
|
||||
|
||||
--
|
||||
|
||||
-- set ft of .jinja.html files to htmldjango
|
||||
vim.filetype.add({
|
||||
pattern = {
|
||||
[".+.jinja.html"] = "htmldjango",
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue