From de009fd679e10d053fdcc10785f91ad5317449ea Mon Sep 17 00:00:00 2001 From: awy Date: Tue, 14 Oct 2025 18:27:29 +0300 Subject: nvim revamp --- .config/nvim/lsp/templ.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .config/nvim/lsp/templ.lua (limited to '.config/nvim/lsp/templ.lua') diff --git a/.config/nvim/lsp/templ.lua b/.config/nvim/lsp/templ.lua new file mode 100644 index 0000000..f5333cd --- /dev/null +++ b/.config/nvim/lsp/templ.lua @@ -0,0 +1,12 @@ +---@brief +--- +--- https://templ.guide +--- +--- The official language server for the templ HTML templating language. + +---@type vim.lsp.Config +return { + cmd = { 'templ', 'lsp' }, + filetypes = { 'templ' }, + root_markers = { 'go.work', 'go.mod', '.git' }, +} -- cgit v1.2.3