From 26b51965dd7728338c29868739a2c6ed1d2ab13e Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Fri, 28 Feb 2020 00:10:34 +0900 Subject: Add customizable semantic_highlight --- settings/analysis-server-dart-snapshot.vim | 1 + settings/apex-jorje-lsp.vim | 1 + settings/bash-language-server.vim | 1 + settings/cl-lsp.vim | 1 + settings/clangd.vim | 1 + settings/clojure-lsp.vim | 1 + settings/cobol-language-support.vim | 1 + settings/css-languageserver.vim | 3 ++- settings/digestif.vim | 1 + settings/dls.vim | 1 + settings/docker-langserver.vim | 1 + settings/eclipse-jdt-ls.vim | 1 + settings/efm-langserver.vim | 1 + settings/elixir-ls.vim | 1 + settings/elm-language-server.vim | 1 + settings/emmylua-ls.vim | 1 + settings/erlang-ls.vim | 1 + settings/eslint-language-server.vim | 1 + settings/fortls.vim | 1 + settings/fsautocomplete.vim | 1 + settings/fsharp-language-server.vim | 1 + settings/glslls.vim | 1 + settings/gopls.vim | 1 + settings/gql-language-server.vim | 1 + settings/groovy-language-server.vim | 1 + settings/html-languageserver.vim | 1 + settings/intelephense.vim | 1 + settings/javascript-typescript-stdio.vim | 1 + settings/json-languageserver.vim | 1 + settings/julia-language-server.vim | 1 + settings/kotlin-language-server.vim | 1 + settings/lsp4xml.vim | 1 + settings/metals.vim | 1 + settings/monastery.vim | 1 + settings/nimlsp.vim | 1 + settings/omnisharp-lsp.vim | 1 + settings/perl-languageserver.vim | 1 + settings/powershell-languageserver.vim | 1 + settings/pyls-ms.vim | 1 + settings/pyls.vim | 1 + settings/r-languageserver.vim | 1 + settings/ra_lsp_server.vim | 1 + settings/reason-language-server.vim | 1 + settings/rls.vim | 1 + settings/rust-analyzer.vim | 1 + settings/slp.vim | 1 + settings/solargraph.vim | 1 + settings/sourcekit-lsp.vim | 1 + settings/sql-language-server.vim | 1 + settings/sqls.vim | 1 + settings/svls.vim | 1 + settings/terraform-lsp.vim | 1 + settings/texlab.vim | 1 + settings/typescript-language-server.vim | 1 + settings/vim-language-server.vim | 1 + settings/vls.vim | 1 + settings/yaml-language-server.vim | 1 + 57 files changed, 58 insertions(+), 1 deletion(-) diff --git a/settings/analysis-server-dart-snapshot.vim b/settings/analysis-server-dart-snapshot.vim index 7b58cc2..26d5723 100644 --- a/settings/analysis-server-dart-snapshot.vim +++ b/settings/analysis-server-dart-snapshot.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_analysis_server_dart_snapshot \ 'blacklist': lsp_settings#get('analysis-server-dart-snapshot', 'blacklist', []), \ 'config': lsp_settings#get('analysis-server-dart-snapshot', 'config', lsp_settings#server_config('analysis-server-dart-snapshot')), \ 'workspace_config': lsp_settings#get('analysis-server-dart-snapshot', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('analysis-server-dart-snapshot', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/apex-jorje-lsp.vim b/settings/apex-jorje-lsp.vim index 3c99894..d2e458f 100644 --- a/settings/apex-jorje-lsp.vim +++ b/settings/apex-jorje-lsp.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_apex_jorje_lsp \ 'blacklist': lsp_settings#get('apex-jorje-lsp', 'blacklist', []), \ 'config': lsp_settings#get('apex-jorje-lsp', 'config', lsp_settings#server_config('apex-jorje-lsp')), \ 'workspace_config': lsp_settings#get('apex-jorje-lsp', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('apex-jorje-lsp', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/bash-language-server.vim b/settings/bash-language-server.vim index 3f0673f..1ce228f 100644 --- a/settings/bash-language-server.vim +++ b/settings/bash-language-server.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_bash_language_server \ 'blacklist': lsp_settings#get('bash-language-server', 'blacklist', []), \ 'config': lsp_settings#get('bash-language-server', 'config', lsp_settings#server_config('bash-language-server')), \ 'workspace_config': lsp_settings#get('bash-language-server', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('bash-language-server', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/cl-lsp.vim b/settings/cl-lsp.vim index ba7a44d..78d5893 100644 --- a/settings/cl-lsp.vim +++ b/settings/cl-lsp.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_cl_lsp \ 'blacklist': lsp_settings#get('cl-lsp', 'blacklist', []), \ 'config': lsp_settings#get('cl-lsp', 'config', lsp_settings#server_config('cl-lsp')), \ 'workspace_config': lsp_settings#get('cl-lsp', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('cl-lsp', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/clangd.vim b/settings/clangd.vim index 10f386e..5f91114 100644 --- a/settings/clangd.vim +++ b/settings/clangd.vim @@ -9,6 +9,7 @@ augroup vimlsp_settings_clangd \ 'blacklist': lsp_settings#get('clangd', 'blacklist', []), \ 'config': lsp_settings#get('clangd', 'config', lsp_settings#server_config('clangd')), \ 'workspace_config': lsp_settings#get('clangd', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('clangd', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/clojure-lsp.vim b/settings/clojure-lsp.vim index 0c095a9..e3c9c7f 100644 --- a/settings/clojure-lsp.vim +++ b/settings/clojure-lsp.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_clojure_lsp \ 'blacklist': lsp_settings#get('clojure-lsp', 'blacklist', []), \ 'config': lsp_settings#get('clojure-lsp', 'config', lsp_settings#server_config('clojure-lsp')), \ 'workspace_config': lsp_settings#get('clojure-lsp', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('clojure-lsp', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/cobol-language-support.vim b/settings/cobol-language-support.vim index 181fcf8..e3d040d 100644 --- a/settings/cobol-language-support.vim +++ b/settings/cobol-language-support.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_cobol_language_support \ 'blacklist': lsp_settings#get('cobol-language-support', 'blacklist', []), \ 'config': lsp_settings#get('cobol-language-support', 'config', lsp_settings#server_config('cobol-language-support')), \ 'workspace_config': lsp_settings#get('cobol-language-support', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('cobol-language-support', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/css-languageserver.vim b/settings/css-languageserver.vim index c5f7a0b..ad1535f 100644 --- a/settings/css-languageserver.vim +++ b/settings/css-languageserver.vim @@ -12,5 +12,6 @@ augroup vimlsp_settings_css_languageserver \ 'css': {'lint': {'validProperties': []}}, \ 'less': {'lint': {'validProperties': []}}, \ 'sass': {'lint': {'validProperties': []}}, - \ })} + \ })'semantic_highlight': lsp_settings#get('css-languageserver', 'semantic_highlight', {}), + \ } augroup END diff --git a/settings/digestif.vim b/settings/digestif.vim index 7271cd7..89dc1a7 100644 --- a/settings/digestif.vim +++ b/settings/digestif.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_digestif \ 'blacklist': lsp_settings#get('digestif', 'blacklist', []), \ 'config': lsp_settings#get('digestif', 'config', lsp_settings#server_config('digestif')), \ 'workspace_config': lsp_settings#get('digestif', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('digestif', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/dls.vim b/settings/dls.vim index f59425a..69780e6 100644 --- a/settings/dls.vim +++ b/settings/dls.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_dls \ 'blacklist': lsp_settings#get('dls', 'blacklist', []), \ 'config': lsp_settings#get('dls', 'config', lsp_settings#server_config('dls')), \ 'workspace_config': lsp_settings#get('dls', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('dls', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/docker-langserver.vim b/settings/docker-langserver.vim index b6374f1..fc27a30 100644 --- a/settings/docker-langserver.vim +++ b/settings/docker-langserver.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_dockerfile_language_server_nodejs \ 'blacklist': lsp_settings#get('docker-langserver', 'blacklist', []), \ 'config': lsp_settings#get('docker-langserver', 'config', lsp_settings#server_config('docker-langserver')), \ 'workspace_config': lsp_settings#get('docker-langserver', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('docker-langserver', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/eclipse-jdt-ls.vim b/settings/eclipse-jdt-ls.vim index 6032f1c..1307b0e 100644 --- a/settings/eclipse-jdt-ls.vim +++ b/settings/eclipse-jdt-ls.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_eclipse_jdt_ls \ 'blacklist': lsp_settings#get('eclipse-jdt-ls', 'blacklist', []), \ 'config': lsp_settings#get('eclipse-jdt-ls', 'config', lsp_settings#server_config('eclipse-jdt-ls')), \ 'workspace_config': lsp_settings#get('eclipse-jdt-ls', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('eclipse-jdt-ls', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/efm-langserver.vim b/settings/efm-langserver.vim index da90f20..a6e5b98 100644 --- a/settings/efm-langserver.vim +++ b/settings/efm-langserver.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_efm_langserver \ 'blacklist': lsp_settings#get('efm-langserver', 'blacklist', []), \ 'config': lsp_settings#get('efm-langserver', 'config', lsp_settings#server_config('efm-langserver')), \ 'workspace_config': lsp_settings#get('efm-langserver', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('efm-langserver', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/elixir-ls.vim b/settings/elixir-ls.vim index c01944a..8b56c80 100644 --- a/settings/elixir-ls.vim +++ b/settings/elixir-ls.vim @@ -9,6 +9,7 @@ augroup vimlsp_settings_elixir_ls \ 'blacklist': lsp_settings#get('elixir-ls', 'blacklist', []), \ 'config': lsp_settings#get('elixir-ls', 'config', lsp_settings#server_config('elixir-ls')), \ 'workspace_config': lsp_settings#get('elixir-ls', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('elixir-ls', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/elm-language-server.vim b/settings/elm-language-server.vim index 0407f74..a431419 100644 --- a/settings/elm-language-server.vim +++ b/settings/elm-language-server.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_elm_language_server \ 'blacklist': lsp_settings#get('elm-language-server', 'blacklist', []), \ 'config': lsp_settings#get('elm-language-server', 'config', lsp_settings#server_config('elm-language-server')), \ 'workspace_config': lsp_settings#get('elm-language-server', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('elm-language-server', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/emmylua-ls.vim b/settings/emmylua-ls.vim index 624295a..40c0d23 100644 --- a/settings/emmylua-ls.vim +++ b/settings/emmylua-ls.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_emmylua_ls \ 'blacklist': lsp_settings#get('emmylua-ls', 'blacklist', []), \ 'config': lsp_settings#get('emmylua-ls', 'config', lsp_settings#server_config('emmylua-ls')), \ 'workspace_config': lsp_settings#get('emmylua-ls', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('emmylua-ls', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/erlang-ls.vim b/settings/erlang-ls.vim index 7b4b3d8..733747f 100644 --- a/settings/erlang-ls.vim +++ b/settings/erlang-ls.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_erlang_ls \ 'blacklist': lsp_settings#get('erlang-ls', 'blacklist', []), \ 'config': lsp_settings#get('erlang-ls', 'config', lsp_settings#server_config('erlang-ls')), \ 'workspace_config': lsp_settings#get('erlang-ls', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('erlang-ls', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/eslint-language-server.vim b/settings/eslint-language-server.vim index f27406c..4a1b61f 100644 --- a/settings/eslint-language-server.vim +++ b/settings/eslint-language-server.vim @@ -31,5 +31,6 @@ augroup vimlsp_settings_eslint_language_server \ 'run': 'onType', \ 'nodePath': v:null, \ }), + \ 'semantic_highlight': lsp_settings#get('eslint-language-server', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/fortls.vim b/settings/fortls.vim index 9d5220f..2a2ba70 100644 --- a/settings/fortls.vim +++ b/settings/fortls.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_fortls \ 'blacklist': lsp_settings#get('fortls', 'blacklist', []), \ 'config': lsp_settings#get('fortls', 'config', lsp_settings#server_config('fortls')), \ 'workspace_config': lsp_settings#get('fortls', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('fortls', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/fsautocomplete.vim b/settings/fsautocomplete.vim index cac0525..fd90874 100644 --- a/settings/fsautocomplete.vim +++ b/settings/fsautocomplete.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_fsautocomplete \ 'blacklist': lsp_settings#get('fsautocomplete', 'blacklist', []), \ 'config': lsp_settings#get('fsautocomplete', 'config', lsp_settings#server_config('fsautocomplete')), \ 'workspace_config': lsp_settings#get('fsautocomplete', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('fsautocomplete', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/fsharp-language-server.vim b/settings/fsharp-language-server.vim index 19bbf6c..3fff6ac 100644 --- a/settings/fsharp-language-server.vim +++ b/settings/fsharp-language-server.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_fsharp_language_server \ 'blacklist': lsp_settings#get('fsharp-language-server', 'blacklist', []), \ 'config': lsp_settings#get('fsharp-language-server', 'config', lsp_settings#server_config('fsharp-language-server')), \ 'workspace_config': lsp_settings#get('fsharp-language-server', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('fsharp-language-server', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/glslls.vim b/settings/glslls.vim index 6cbfa7f..6748898 100644 --- a/settings/glslls.vim +++ b/settings/glslls.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_glslls \ 'blacklist': lsp_settings#get('glslls', 'blacklist', []), \ 'config': lsp_settings#get('glslls', 'config', lsp_settings#server_config('glslls')), \ 'workspace_config': lsp_settings#get('glslls', 'workspace_config', {name, key->{'json': {'format': {'enable': v:true}, 'schemas': json_decode(join(readfile(expand(':h:h') . '/data/catalog.json'), "\n"))['schemas']}}}), + \ 'semantic_highlight': lsp_settings#get('glslls', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/gopls.vim b/settings/gopls.vim index 91d2fc7..9eb7878 100644 --- a/settings/gopls.vim +++ b/settings/gopls.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_gopls \ 'blacklist': lsp_settings#get('gopls', 'blacklist', []), \ 'config': lsp_settings#get('gopls', 'config', lsp_settings#server_config('gopls')), \ 'workspace_config': lsp_settings#get('gopls', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('gopls', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/gql-language-server.vim b/settings/gql-language-server.vim index f99bb68..2b0fc61 100644 --- a/settings/gql-language-server.vim +++ b/settings/gql-language-server.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_gql_language_server \ 'blacklist': lsp_settings#get('gql-language-server', 'blacklist', []), \ 'config': lsp_settings#get('gql-language-server', 'config', lsp_settings#server_config('gql-language-server')), \ 'workspace_config': lsp_settings#get('gql-language-server', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('gql-language-server', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/groovy-language-server.vim b/settings/groovy-language-server.vim index c341c77..e248bdb 100644 --- a/settings/groovy-language-server.vim +++ b/settings/groovy-language-server.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_groovy_language_server \ 'blacklist': lsp_settings#get('groovy-language-server', 'blacklist', []), \ 'config': lsp_settings#get('groovy-language-server', 'config', lsp_settings#server_config('groovy-language-server')), \ 'workspace_config': lsp_settings#get('groovy-language-server', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('groovy-language-server', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/html-languageserver.vim b/settings/html-languageserver.vim index ee198f0..c22b401 100644 --- a/settings/html-languageserver.vim +++ b/settings/html-languageserver.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_html_languageserver \ 'blacklist': lsp_settings#get('html-languageserver', 'blacklist', []), \ 'config': lsp_settings#get('html-languageserver', 'config', lsp_settings#server_config('html-languageserver')), \ 'workspace_config': lsp_settings#get('html-languageserver', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('html-languageserver', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/intelephense.vim b/settings/intelephense.vim index 635737a..c330080 100644 --- a/settings/intelephense.vim +++ b/settings/intelephense.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_intelephense_server \ 'blacklist': lsp_settings#get('intelephense', 'blacklist', []), \ 'config': lsp_settings#get('intelephense', 'config', lsp_settings#server_config('intelephense')), \ 'workspace_config': lsp_settings#get('intelephense', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('intelephense', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/javascript-typescript-stdio.vim b/settings/javascript-typescript-stdio.vim index 4074ef2..929072c 100644 --- a/settings/javascript-typescript-stdio.vim +++ b/settings/javascript-typescript-stdio.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_javascript_typescript_stdio \ 'blacklist': lsp_settings#get('javascript-typescript-stdio', 'blacklist', []), \ 'config': lsp_settings#get('javascript-typescript-stdio', 'config', lsp_settings#server_config('javascript-typescript-stdio')), \ 'workspace_config': lsp_settings#get('javascript-typescript-stdio', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('javascript-typescript-stdio', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/json-languageserver.vim b/settings/json-languageserver.vim index 8c90e48..4d23938 100644 --- a/settings/json-languageserver.vim +++ b/settings/json-languageserver.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_json_languageserver \ 'blacklist': lsp_settings#get('json-languageserver', 'blacklist', []), \ 'config': lsp_settings#get('json-languageserver', 'config', lsp_settings#server_config('json-languageserver')), \ 'workspace_config': lsp_settings#get('json-languageserver', 'workspace_config', {name, key->{'json': {'format': {'enable': v:true}, 'schemas': json_decode(join(readfile(expand(':h:h') . '/data/catalog.json'), "\n"))['schemas'] + [{'fileMatch':['/.vim-lsp-settings/settings.json'], 'url': 'https://mattn.github.io/vim-lsp-settings/local-schema.json'}]}}}), + \ 'semantic_highlight': lsp_settings#get('json-languageserver', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/julia-language-server.vim b/settings/julia-language-server.vim index 18d1335..c090bec 100644 --- a/settings/julia-language-server.vim +++ b/settings/julia-language-server.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_julia_language_server \ 'blacklist': lsp_settings#get('julia-language-server', 'blacklist', []), \ 'config': lsp_settings#get('julia-language-server', 'config', lsp_settings#server_config('julia-language-server')), \ 'workspace_config': lsp_settings#get('julia-language-server', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('julia-language-server', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/kotlin-language-server.vim b/settings/kotlin-language-server.vim index 8749e60..6a3d98d 100644 --- a/settings/kotlin-language-server.vim +++ b/settings/kotlin-language-server.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_kotlin_language_server \ 'blacklist': lsp_settings#get('kotlin-language-server', 'blacklist', []), \ 'config': lsp_settings#get('kotlin-language-server', 'config', lsp_settings#server_config('kotlin-language-server')), \ 'workspace_config': lsp_settings#get('kotlin-language-server', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('kotlin-language-server', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/lsp4xml.vim b/settings/lsp4xml.vim index c1845c3..f1dc9f2 100644 --- a/settings/lsp4xml.vim +++ b/settings/lsp4xml.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_lsp4xml \ 'blacklist': lsp_settings#get('lsp4xml', 'blacklist', []), \ 'config': lsp_settings#get('lsp4xml', 'config', lsp_settings#server_config('lsp4xml')), \ 'workspace_config': lsp_settings#get('lsp4xml', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('lsp4xml', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/metals.vim b/settings/metals.vim index 5527f36..2402014 100644 --- a/settings/metals.vim +++ b/settings/metals.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_metals \ 'blacklist': lsp_settings#get('metals', 'blacklist', []), \ 'config': lsp_settings#get('metals', 'config', lsp_settings#server_config('metals')), \ 'workspace_config': lsp_settings#get('metals', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('metals', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/monastery.vim b/settings/monastery.vim index 7022635..1db54c6 100644 --- a/settings/monastery.vim +++ b/settings/monastery.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_monastery \ 'blacklist': lsp_settings#get('monastery', 'blacklist', []), \ 'config': lsp_settings#get('monastery', 'config', lsp_settings#server_config('monastery')), \ 'workspace_config': lsp_settings#get('monastery', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('monastery', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/nimlsp.vim b/settings/nimlsp.vim index 33ffb6e..3fc266b 100644 --- a/settings/nimlsp.vim +++ b/settings/nimlsp.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_nimlsp \ 'blacklist': lsp_settings#get('nimlsp', 'blacklist', []), \ 'config': lsp_settings#get('nimlsp', 'config', lsp_settings#server_config('nimlsp')), \ 'workspace_config': lsp_settings#get('nimlsp', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('nimlsp', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/omnisharp-lsp.vim b/settings/omnisharp-lsp.vim index d8db644..b09b04b 100644 --- a/settings/omnisharp-lsp.vim +++ b/settings/omnisharp-lsp.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_omnisharp_lsp \ 'blacklist': lsp_settings#get('omnisharp-lsp', 'blacklist', []), \ 'config': lsp_settings#get('omnisharp-lsp', 'config', lsp_settings#server_config('omnisharp-lsp')), \ 'workspace_config': lsp_settings#get('omnisharp-lsp', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('omnisharp-lsp', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/perl-languageserver.vim b/settings/perl-languageserver.vim index 6ad20ef..56d1d9c 100644 --- a/settings/perl-languageserver.vim +++ b/settings/perl-languageserver.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_perl_languageserver \ 'blacklist': lsp_settings#get('perl-languageserver', 'blacklist', []), \ 'config': lsp_settings#get('perl-languageserver', 'config', lsp_settings#server_config('perl-languageserver')), \ 'workspace_config': lsp_settings#get('perl-languageserver', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('perl-languageserver', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/powershell-languageserver.vim b/settings/powershell-languageserver.vim index 6596876..f0dbead 100644 --- a/settings/powershell-languageserver.vim +++ b/settings/powershell-languageserver.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_powershell_languageserver \ 'blacklist': lsp_settings#get('powershell-languageserver', 'blacklist', []), \ 'config': lsp_settings#get('powershell-languageserver', 'config', lsp_settings#server_config('powershell-languageserver')), \ 'workspace_config': lsp_settings#get('powershell-languageserver', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('powershell-languageserver', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/pyls-ms.vim b/settings/pyls-ms.vim index 22c78d7..e1439ce 100644 --- a/settings/pyls-ms.vim +++ b/settings/pyls-ms.vim @@ -28,5 +28,6 @@ augroup vimlsp_settings_pyls_ms \ }, \ }, \ }), + \ 'semantic_highlight': lsp_settings#get('pyls-ms', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/pyls.vim b/settings/pyls.vim index 98732e5..a340e15 100644 --- a/settings/pyls.vim +++ b/settings/pyls.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_pyls \ 'blacklist': lsp_settings#get('pyls', 'blacklist', []), \ 'config': lsp_settings#get('pyls', 'config', lsp_settings#server_config('pyls')), \ 'workspace_config': lsp_settings#get('pyls', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('pyls', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/r-languageserver.vim b/settings/r-languageserver.vim index 7e0b096..31b2e17 100644 --- a/settings/r-languageserver.vim +++ b/settings/r-languageserver.vim @@ -9,6 +9,7 @@ augroup vimlsp_settings_r_languageserver \ 'blacklist': lsp_settings#get('r-languageserver', 'blacklist', []), \ 'config': lsp_settings#get('r-languageserver', 'config', lsp_settings#server_config('r-languageserver')), \ 'workspace_config': lsp_settings#get('r-languageserver', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('r-languageserver', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/ra_lsp_server.vim b/settings/ra_lsp_server.vim index 46cfcb1..95d0272 100644 --- a/settings/ra_lsp_server.vim +++ b/settings/ra_lsp_server.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_ra_lsp_server \ 'blacklist': lsp_settings#get('ra_lsp_server', 'blacklist', []), \ 'config': lsp_settings#get('ra_lsp_server', 'config', lsp_settings#server_config('ra_lsp_server')), \ 'workspace_config': lsp_settings#get('ra_lsp_server', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('ra_lsp_server', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/reason-language-server.vim b/settings/reason-language-server.vim index b55b70a..5e2f8c2 100644 --- a/settings/reason-language-server.vim +++ b/settings/reason-language-server.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_reason_language_server \ 'blacklist': lsp_settings#get('reason-language-server', 'blacklist', []), \ 'config': lsp_settings#get('reason-language-server', 'config', lsp_settings#server_config('reason-language-server')), \ 'workspace_config': lsp_settings#get('reason-language-server', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('reason-language-server', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/rls.vim b/settings/rls.vim index ed3fb44..ca5bc38 100644 --- a/settings/rls.vim +++ b/settings/rls.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_rls \ 'blacklist': lsp_settings#get('rls', 'blacklist', []), \ 'config': lsp_settings#get('rls', 'config', lsp_settings#server_config('rls')), \ 'workspace_config': lsp_settings#get('rls', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('rls', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/rust-analyzer.vim b/settings/rust-analyzer.vim index 1b77280..993add9 100644 --- a/settings/rust-analyzer.vim +++ b/settings/rust-analyzer.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_rust-analyzer \ 'blacklist': lsp_settings#get('rust-analyzer', 'blacklist', []), \ 'config': lsp_settings#get('rust-analyzer', 'config', lsp_settings#server_config('rust-analyzer')), \ 'workspace_config': lsp_settings#get('rust-analyzer', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('rust-analyzer', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/slp.vim b/settings/slp.vim index 98948c4..d9ead38 100644 --- a/settings/slp.vim +++ b/settings/slp.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_slp \ 'blacklist': lsp_settings#get('slp', 'blacklist', []), \ 'config': lsp_settings#get('slp', 'config', lsp_settings#server_config('slp')), \ 'workspace_config': lsp_settings#get('slp', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('slp', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/solargraph.vim b/settings/solargraph.vim index e894ce7..e43d19d 100644 --- a/settings/solargraph.vim +++ b/settings/solargraph.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_solargraph \ 'blacklist': lsp_settings#get('solargraph', 'blacklist', []), \ 'config': lsp_settings#get('solargraph', 'config', lsp_settings#server_config('solargraph')), \ 'workspace_config': lsp_settings#get('solargraph', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('solargraph', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/sourcekit-lsp.vim b/settings/sourcekit-lsp.vim index 032812e..28b8720 100644 --- a/settings/sourcekit-lsp.vim +++ b/settings/sourcekit-lsp.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_sourcekit_lsp \ 'blacklist': lsp_settings#get('sourcekit-lsp', 'blacklist', []), \ 'config': lsp_settings#get('sourcekit-lsp', 'config', lsp_settings#server_config('sourcekit-lsp')), \ 'workspace_config': lsp_settings#get('sourcekit-lsp', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('sourcekit-lsp', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/sql-language-server.vim b/settings/sql-language-server.vim index 3a33ac0..171624a 100644 --- a/settings/sql-language-server.vim +++ b/settings/sql-language-server.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_sql_language_server \ 'blacklist': lsp_settings#get('sql-language-server', 'blacklist', []), \ 'config': lsp_settings#get('sql-language-server', 'config', lsp_settings#server_config('sql-language-server')), \ 'workspace_config': lsp_settings#get('sql-language-server', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('sql-language-server', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/sqls.vim b/settings/sqls.vim index 3ff97d3..a8477dc 100644 --- a/settings/sqls.vim +++ b/settings/sqls.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_sqls \ 'blacklist': lsp_settings#get('sqls', 'blacklist', []), \ 'config': lsp_settings#get('sqls', 'config', lsp_settings#server_config('sqls')), \ 'workspace_config': lsp_settings#get('sqls', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('sqls', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/svls.vim b/settings/svls.vim index 4c39343..cd2b283 100644 --- a/settings/svls.vim +++ b/settings/svls.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_svls \ 'blacklist': lsp_settings#get('svls', 'blacklist', []), \ 'config': lsp_settings#get('svls', 'config', lsp_settings#server_config('svls')), \ 'workspace_config': lsp_settings#get('svls', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('svls', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/terraform-lsp.vim b/settings/terraform-lsp.vim index 90e608d..19617af 100644 --- a/settings/terraform-lsp.vim +++ b/settings/terraform-lsp.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_terraform_lsp \ 'blacklist': lsp_settings#get('terraform-lsp', 'blacklist', []), \ 'config': lsp_settings#get('terraform-lsp', 'config', lsp_settings#server_config('terraform-lsp')), \ 'workspace_config': lsp_settings#get('terraform-lsp', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('terraform-lsp', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/texlab.vim b/settings/texlab.vim index 722ad66..929a9d3 100644 --- a/settings/texlab.vim +++ b/settings/texlab.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_texlab \ 'blacklist': lsp_settings#get('texlab', 'blacklist', []), \ 'config': lsp_settings#get('texlab', 'config', lsp_settings#server_config('texlab')), \ 'workspace_config': lsp_settings#get('texlab', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('texlab', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/typescript-language-server.vim b/settings/typescript-language-server.vim index 53b93ff..4e58dee 100644 --- a/settings/typescript-language-server.vim +++ b/settings/typescript-language-server.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_typescript_language_server \ 'blacklist': lsp_settings#get('typescript-language-server', 'blacklist', []), \ 'config': lsp_settings#get('typescript-language-server', 'config', lsp_settings#server_config('typescript-language-server')), \ 'workspace_config': lsp_settings#get('typescript-language-server', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('typescript-language-server', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/vim-language-server.vim b/settings/vim-language-server.vim index 5f8812f..cc0cda1 100644 --- a/settings/vim-language-server.vim +++ b/settings/vim-language-server.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_vim_language_server \ 'blacklist': lsp_settings#get('vimbash-language-server', 'blacklist', []), \ 'config': lsp_settings#get('vim-language-server', 'config', lsp_settings#server_config('vim-language-server')), \ 'workspace_config': lsp_settings#get('vim-language-server', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('vim-language-server', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/vls.vim b/settings/vls.vim index 51b6075..b097f51 100644 --- a/settings/vls.vim +++ b/settings/vls.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_vls \ 'blacklist': lsp_settings#get('vls', 'blacklist', []), \ 'config': lsp_settings#get('vls', 'config', lsp_settings#server_config('vls')), \ 'workspace_config': lsp_settings#get('vls', 'workspace_config', {}), + \ 'semantic_highlight': lsp_settings#get('vls', 'semantic_highlight', {}), \ } augroup END diff --git a/settings/yaml-language-server.vim b/settings/yaml-language-server.vim index b4d7e0a..8894191 100644 --- a/settings/yaml-language-server.vim +++ b/settings/yaml-language-server.vim @@ -9,5 +9,6 @@ augroup vimlsp_settings_yaml_language_server \ 'blacklist': lsp_settings#get('yaml-language-server', 'blacklist', []), \ 'config': lsp_settings#get('yaml-language-server', 'config', lsp_settings#server_config('yaml-language-server')), \ 'workspace_config': lsp_settings#get('yaml-language-server', 'workspace_config', {name, key->{'json': {'format': {'enable': v:true}, 'schemas': json_decode(join(readfile(expand(':h:h') . '/data/catalog.json'), "\n"))['schemas']}}}), + \ 'semantic_highlight': lsp_settings#get('yaml-language-server', 'semantic_highlight', {}), \ } augroup END -- cgit v1.2.3-54-g00ecf