aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/server_configurations/html.lua
diff options
context:
space:
mode:
authormortezadadgar <mortezadadgar97@gmail.com>2024-02-04 09:46:42 +0330
committerGitHub <noreply@github.com>2024-02-04 14:16:42 +0800
commitf989158fcc4c35d1c96d74fde8b6c54b9dfdfc4f (patch)
tree9349fbfe102b85f4b45906810461b6380cc3d53f /lua/lspconfig/server_configurations/html.lua
parentfix(rust-analyzer): re-analyzing cargo deps (#2995) (diff)
downloadnvim-lspconfig-f989158fcc4c35d1c96d74fde8b6c54b9dfdfc4f.tar
nvim-lspconfig-f989158fcc4c35d1c96d74fde8b6c54b9dfdfc4f.tar.gz
nvim-lspconfig-f989158fcc4c35d1c96d74fde8b6c54b9dfdfc4f.tar.bz2
nvim-lspconfig-f989158fcc4c35d1c96d74fde8b6c54b9dfdfc4f.tar.lz
nvim-lspconfig-f989158fcc4c35d1c96d74fde8b6c54b9dfdfc4f.tar.xz
nvim-lspconfig-f989158fcc4c35d1c96d74fde8b6c54b9dfdfc4f.tar.zst
nvim-lspconfig-f989158fcc4c35d1c96d74fde8b6c54b9dfdfc4f.zip
feat: add `templ` filetype in html htmx tailwindcss (#2996)
* feat(tailwindcss): add `templ` to filetypes * feat(html): add `templ` to filetypes * feat(htmx): add `templ` to filetypes
Diffstat (limited to 'lua/lspconfig/server_configurations/html.lua')
-rw-r--r--lua/lspconfig/server_configurations/html.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/server_configurations/html.lua b/lua/lspconfig/server_configurations/html.lua
index e432e2c8..23707349 100644
--- a/lua/lspconfig/server_configurations/html.lua
+++ b/lua/lspconfig/server_configurations/html.lua
@@ -3,7 +3,7 @@ local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'vscode-html-language-server', '--stdio' },
- filetypes = { 'html' },
+ filetypes = { 'html', 'templ' },
root_dir = util.root_pattern('package.json', '.git'),
single_file_support = true,
settings = {},