vim-lsp-settings icon indicating copy to clipboard operation
vim-lsp-settings copied to clipboard

Fix refresh pattern to be customizable

Open yoshi1123 opened this issue 2 years ago • 0 comments

In settings.json, eclipse-jdt-ls has this config:

      "config": {
        "refresh_pattern": "\\([.a-zA-Z0-9_-]\\+\\|/\\|\\k\\+\\)$"
      },

Completion for methods/fields does not work for me with this refresh pattern. With this PR, one can change this refresh_pattern with g:lsp_settings. For example,

let g:lsp_settings = {
\ "eclipse-jdt-ls": {
\   "config": {
\     "refresh_pattern":"\\(\\k\\+\\)$"
\   }
\ }
\}

yoshi1123 avatar Mar 18 '22 01:03 yoshi1123