diff options
| author | mortezadadgar <mortezadadgar97@gmail.com> | 2024-02-04 09:46:42 +0330 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-04 14:16:42 +0800 |
| commit | f989158fcc4c35d1c96d74fde8b6c54b9dfdfc4f (patch) | |
| tree | 9349fbfe102b85f4b45906810461b6380cc3d53f /lua/lspconfig/server_configurations/htmx.lua | |
| parent | fix(rust-analyzer): re-analyzing cargo deps (#2995) (diff) | |
| download | nvim-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/htmx.lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/htmx.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/server_configurations/htmx.lua b/lua/lspconfig/server_configurations/htmx.lua index 4c8f8afe..26611b71 100644 --- a/lua/lspconfig/server_configurations/htmx.lua +++ b/lua/lspconfig/server_configurations/htmx.lua @@ -3,7 +3,7 @@ local util = require 'lspconfig.util' return { default_config = { cmd = { 'htmx-lsp' }, - filetypes = { 'html' }, + filetypes = { 'html', 'templ' }, single_file_support = true, root_dir = function(fname) return util.find_git_ancestor(fname) |
