diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-09-26 03:45:13 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-09-26 03:45:13 +0000 |
| commit | bfdf2e91e7297a54bcc09d3e092a12bff69a1cf4 (patch) | |
| tree | a50c73e3940f99f232d3d973c04393aad1199662 | |
| parent | feat: add templ support (#2830) (diff) | |
| download | nvim-lspconfig-bfdf2e91e7297a54bcc09d3e092a12bff69a1cf4.tar nvim-lspconfig-bfdf2e91e7297a54bcc09d3e092a12bff69a1cf4.tar.gz nvim-lspconfig-bfdf2e91e7297a54bcc09d3e092a12bff69a1cf4.tar.bz2 nvim-lspconfig-bfdf2e91e7297a54bcc09d3e092a12bff69a1cf4.tar.lz nvim-lspconfig-bfdf2e91e7297a54bcc09d3e092a12bff69a1cf4.tar.xz nvim-lspconfig-bfdf2e91e7297a54bcc09d3e092a12bff69a1cf4.tar.zst nvim-lspconfig-bfdf2e91e7297a54bcc09d3e092a12bff69a1cf4.zip | |
docs: update server_configurations.md
skip-checks: true
| -rw-r--r-- | doc/server_configurations.md | 30 | ||||
| -rw-r--r-- | doc/server_configurations.txt | 30 |
2 files changed, 60 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index 8c62b923..3dd9729d 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -220,6 +220,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [taplo](#taplo) - [tblgen_lsp_server](#tblgen_lsp_server) - [teal_ls](#teal_ls) +- [templ](#templ) - [terraform_lsp](#terraform_lsp) - [terraformls](#terraformls) - [texlab](#texlab) @@ -9586,6 +9587,35 @@ require'lspconfig'.teal_ls.setup{} ``` +## templ + +https://templ.guide + +The official language server for the templ HTML templating language. + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.templ.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "templ", "lsp" } + ``` + - `filetypes` : + ```lua + { "templ" } + ``` + - `root_dir` : + ```lua + root_pattern('go.work', 'go.mod', '.git') + ``` + + ## terraform_lsp https://github.com/juliosueiras/terraform-lsp diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index 8c62b923..3dd9729d 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -220,6 +220,7 @@ autogenerated from the Lua files. You can view this file in Nvim by running - [taplo](#taplo) - [tblgen_lsp_server](#tblgen_lsp_server) - [teal_ls](#teal_ls) +- [templ](#templ) - [terraform_lsp](#terraform_lsp) - [terraformls](#terraformls) - [texlab](#texlab) @@ -9586,6 +9587,35 @@ require'lspconfig'.teal_ls.setup{} ``` +## templ + +https://templ.guide + +The official language server for the templ HTML templating language. + + + +**Snippet to enable the language server:** +```lua +require'lspconfig'.templ.setup{} +``` + + +**Default values:** + - `cmd` : + ```lua + { "templ", "lsp" } + ``` + - `filetypes` : + ```lua + { "templ" } + ``` + - `root_dir` : + ```lua + root_pattern('go.work', 'go.mod', '.git') + ``` + + ## terraform_lsp https://github.com/juliosueiras/terraform-lsp |
