We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1416a3 commit 56aed91Copy full SHA for 56aed91
ftdetect/html.lua
@@ -1,4 +1,9 @@
1
vim.api.nvim_create_autocmd("BufWinEnter", {
2
pattern = "*.html",
3
- command = "set syntax=html",
+ command = "setlocal syntax=html tabstop=2 shiftwidth=2 softtabstop=2",
4
+})
5
+
6
+vim.api.nvim_create_autocmd("BufNew", {
7
+ pattern = "*.html",
8
+ command = "silent! 1s:.*:<!doctype html>",
9
})
lua/plugins/nvim-cmp.lua
@@ -65,10 +65,10 @@ M.config = function()
65
{ name = "nvim_lua" },
66
{ name = "luasnip" }, -- For luasnip users.
67
{ name = "codeium" },
68
- { name = "dictionary", keyword_length = 2 },
69
}, {
70
{ name = "buffer" },
71
{ name = "path" },
+ { name = "dictionary", keyword_length = 2 },
72
73
{ name = "neorg" },
74
}),
0 commit comments