mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
Support gohtmltmpl/gotexttmpl
This commit is contained in:
committed by
mattn
parent
2057fc1206
commit
8f1cd82262
@@ -300,6 +300,42 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"gohtmltmpl": [
|
||||
{
|
||||
"command": "gopls",
|
||||
"requires": [
|
||||
"go"
|
||||
],
|
||||
"root_uri_patterns": [
|
||||
"go.mod"
|
||||
],
|
||||
"vim_plugin": {
|
||||
"extensions": [
|
||||
"tmpl",
|
||||
"gotmpl"
|
||||
],
|
||||
"name": "mattn/vim-gotmpl"
|
||||
}
|
||||
}
|
||||
],
|
||||
"gotexttmpl": [
|
||||
{
|
||||
"command": "gopls",
|
||||
"requires": [
|
||||
"go"
|
||||
],
|
||||
"root_uri_patterns": [
|
||||
"go.mod"
|
||||
],
|
||||
"vim_plugin": {
|
||||
"extensions": [
|
||||
"tmpl",
|
||||
"gotmpl"
|
||||
],
|
||||
"name": "mattn/vim-gotmpl"
|
||||
}
|
||||
}
|
||||
],
|
||||
"graphql": [
|
||||
{
|
||||
"command": "graphql-language-server",
|
||||
|
||||
@@ -12,7 +12,7 @@ augroup vim_lsp_settings_gopls
|
||||
\ 'test': v:true,
|
||||
\ },
|
||||
\ }),
|
||||
\ 'allowlist': lsp_settings#get('gopls', 'allowlist', ['go', 'gomod']),
|
||||
\ 'allowlist': lsp_settings#get('gopls', 'allowlist', ['go', 'gomod', 'gohtmltmpl', 'gotexttmpl']),
|
||||
\ 'blocklist': lsp_settings#get('gopls', 'blocklist', []),
|
||||
\ 'config': lsp_settings#get('gopls', 'config', lsp_settings#server_config('gopls')),
|
||||
\ 'workspace_config': lsp_settings#get('gopls', 'workspace_config', {}),
|
||||
|
||||
Reference in New Issue
Block a user