90 Commits

Author SHA1 Message Date
mattn
a5f1a41d36 Handle allowlist in lsp_settings (#283)
* Handle allowlist in lsp_settings

* Fix test

* Fix test

* Fix test

* Fix test

* Fix test

* Do not load duplicated

* Fix test

* Fix test
2020-07-17 13:44:50 +09:00
Prabir Shrestha
458de93386 use allowlist and blocklist (#267)
* use allowlist and blocklist

* fix description
2020-06-28 21:58:26 +09:00
Yasuhiro Matsumoto
9967722b34 Do not append the patterns 2020-06-27 10:06:40 +09:00
ujihisa
87b47864e2 Introduce g:lsp_settings_disable_suggestions (#265)
* Introduce g:lsp_settings_disable_suggestions

* Problem: When you use lsp for certain filetypes, you see
  "Please do :LspInstallServer to enable Language Server" message
  every time when you open a file that you don't need lsp supports.
  It's hard to disable all the possible filetypes but the one
  you use.
* Solution: Provide a way to opt-out the messages.

* Revserse the role

* Reverse even more
2020-06-27 09:55:08 +09:00
mattn
07b1c937b4 Merge pull request #219 from tennashi/specify_root_dir
Can specify the project root directry
2020-04-22 20:21:25 +09:00
tennashi
2b2fe807a8 Remove debug code 2020-04-18 17:15:02 +09:00
tennashi
f82dfda121 Can specify the project root directry 2020-04-18 15:47:18 +09:00
mattn
2d9b59c011 Merge pull request #217 from mattn/extra-schemas
Load extra schemas
2020-04-16 21:00:13 +09:00
Yasuhiro Matsumoto
a38b510553 Load extra schemas 2020-04-16 20:51:23 +09:00
Milly
ede24a4f3d Fix argument of lsp_settings#root_path 2020-03-30 03:19:20 +09:00
Yasuhiro Matsumoto
f361e8e88c Add LspSettingsGlobalEdit 2020-03-20 11:02:40 +09:00
Yasuhiro Matsumoto
76df1e616e Global configuration 2020-03-20 10:57:22 +09:00
Yasuhiro Matsumoto
8a50c71c44 Check requires 2020-03-13 17:00:29 +00:00
Yasuhiro Matsumoto
a3a908863b silence the reviewdog 2020-03-06 15:41:08 +09:00
Yasuhiro Matsumoto
9be9b69efe If $XDG_CONFIG_HOME is defined, use it. 2020-03-06 15:40:38 +09:00
Yasuhiro Matsumoto
bb0864302d Change default servers_dir 2020-03-06 15:33:12 +09:00
Yasuhiro Matsumoto
ba0797a13f Breaking compatibility: Rename lsp_settings_xxx for filetypes to lsp_settings_filetype_xxx 2020-03-06 14:55:57 +09:00
Yasuhiro Matsumoto
d9774098d3 Enable installable for efm-langserver 2020-03-02 12:27:02 +09:00
Yasuhiro Matsumoto
1ae6dff3ff Add candidate of '_' for completion 2020-02-25 22:07:03 +09:00
Yasuhiro Matsumoto
b7afc25d26 Show configuration with LspSettingsStatus 2020-02-24 21:07:56 +09:00
Yasuhiro Matsumoto
3e48c84109 Merge settings 2020-02-22 00:45:37 +09:00
Yasuhiro Matsumoto
8b850cbdd6 Use extend() 2020-02-22 00:23:18 +09:00
Yasuhiro Matsumoto
c61920a55b Merge branch 'master' of https://github.com/mattn/vim-lsp-settings 2020-02-20 14:50:44 +09:00
Yasuhiro Matsumoto
750d4f1352 Now LspInstallServer is global command 2020-02-20 14:50:08 +09:00
Yasuhiro Matsumoto
d31db49d27 Prefer user's configuration 2020-02-20 00:24:10 +09:00
Yasuhiro Matsumoto
0e71903b66 Fix root_uri_patterns 2020-02-20 00:18:27 +09:00
Yasuhiro Matsumoto
e55fa57320 root_uri patterns should be configurable 2020-02-20 00:14:47 +09:00
Yasuhiro Matsumoto
5df3d59707 Sort & uniq 2020-02-18 23:26:32 +09:00
Yasuhiro Matsumoto
40fa3b6cbb Add LspSettingsStatus 2020-02-18 18:03:38 +09:00
Yasuhiro Matsumoto
978d09ad43 If the default server is specified as list, continue to look next 2020-02-18 17:31:55 +09:00
Yasuhiro Matsumoto
1113fc6070 set nomodified 2020-02-16 00:06:42 +09:00
Yasuhiro Matsumoto
22866c9702 Edit local settings.json 2020-02-16 00:03:58 +09:00
Yasuhiro Matsumoto
59587f9325 Prefer settings.json 2020-02-15 23:14:32 +09:00
Yasuhiro Matsumoto
a68b31af77 Load project related local .vim-lsp-settings/config.json 2020-02-15 23:09:49 +09:00
Yasuhiro Matsumoto
d61017eeb5 Add server configs 2020-02-14 02:34:57 +09:00
Yasuhiro Matsumoto
c7b8916b10 Remove typed_pattern 2020-02-13 19:13:53 +09:00
Yasuhiro Matsumoto
145cae42db Do not do forcibly suggestion for non-filetype 2020-02-13 00:33:56 +09:00
Yasuhiro Matsumoto
88e07ea55e Revert delays 2020-02-12 10:44:47 +09:00
Yasuhiro Matsumoto
09268932e5 Trigger BufReadPost to enable LSP 2020-02-12 10:41:48 +09:00
Yasuhiro Matsumoto
1ea1f8a5c8 Fix vint warning 2020-02-12 10:12:46 +09:00
Yasuhiro Matsumoto
ce9a222097 Add hack to avoid failing tests 2020-02-12 10:05:09 +09:00
Yasuhiro Matsumoto
67dd6f4a23 Check FileType in little later 2020-02-12 09:42:29 +09:00
Yasuhiro Matsumoto
c69a266621 Show uninstalling message 2020-02-11 22:41:40 +09:00
Yasuhiro Matsumoto
bd09186d1b Set nosuf for globpath 2020-02-09 02:04:14 +09:00
Yasuhiro Matsumoto
c3e4b62d1e Add utility function to merge dictionary which has keys with dot separated. 2020-02-08 21:57:05 +09:00
Yasuhiro Matsumoto
90b4c2e84a Rename asyncomplete-refresh-pattern to refresh_pattern 2020-02-05 18:26:19 +09:00
Yasuhiro Matsumoto
d7a15bda2f Support b:asyncomplete_refresh_pattern 2020-02-05 14:27:48 +09:00
Yasuhiro Matsumoto
c588857b64 Add test 2020-01-31 18:28:14 +09:00
Yasuhiro Matsumoto
6e645f0902 Add test 2020-01-31 18:00:33 +09:00
Yasuhiro Matsumoto
bc2e42cc6c Should work with the user's wrong settings 2020-01-31 17:31:49 +09:00