aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--settings.json7
-rw-r--r--settings/css-languageserver.vim2
2 files changed, 4 insertions, 5 deletions
diff --git a/settings.json b/settings.json
index 5bc7c4d..3aea50c 100644
--- a/settings.json
+++ b/settings.json
@@ -63,7 +63,7 @@
],
"css": [
{
- "refresh_pattern": "\\(-\\?[a-zA-Z_]\\+[_a-zA-Z0-9-]*$\\|\\k\\+$\\)",
+ "refresh_pattern": "\\([a-zA-Z0-9_-]\\+\\)$",
"command": "css-languageserver",
"requires": [
"npm"
@@ -189,7 +189,6 @@
],
"html": [
{
- "refresh_pattern": "\\(\\k\\+\\)$",
"command": "html-languageserver",
"requires": [
"npm"
@@ -346,7 +345,7 @@
],
"ps1": [
{
- "refresh_pattern": "\\(\\$\\k*$\\|\\k\\+$\\)",
+ "refresh_pattern": "\\(\\$\\k*\\|\\k\\+\\)$",
"command": "powershell-languageserver",
"requires": [
"pwsh"
@@ -402,7 +401,7 @@
],
"ruby": [
{
- "refresh_pattern": "\\(\\$\\k*$\\|\\k\\+$\\)",
+ "refresh_pattern": "\\(\\$\\k*\\|\\k\\+\\)$",
"command": "solargraph",
"requires": [
"gem"
diff --git a/settings/css-languageserver.vim b/settings/css-languageserver.vim
index b3d33a4..de414c2 100644
--- a/settings/css-languageserver.vim
+++ b/settings/css-languageserver.vim
@@ -7,7 +7,7 @@ augroup vimlsp_settings_css_languageserver
\ 'initialization_options': lsp_settings#get('css-languageserver', 'initialization_options', v:null),
\ 'whitelist': lsp_settings#get('css-languageserver', 'whitelist', ['css', 'less', 'sass']),
\ 'blacklist': lsp_settings#get('css-languageserver', 'blacklist', []),
- \ 'config': lsp_settings#get('css-languageserver', 'config', {'typed_pattern': '-\?[a-zA-Z_]\+[_a-zA-Z0-9-]*$\|\k\+$'}),
+ \ 'config': lsp_settings#get('css-languageserver', 'config', {'typed_pattern': '-\?[a-zA-Z_]\+[_a-zA-Z0-9-]\+$'}),
\ 'workspace_config': lsp_settings#get('css-languageserver', 'workspace_config', {
\ 'css': {'lint': {'validProperties': []}},
\ 'less': {'lint': {'validProperties': []}},