899 Commits

Author SHA1 Message Date
Prabir Shrestha
231ab3cb23 add double tap support for floating LspHover window and lsp-hover-close plug 2021-05-31 22:10:25 +00:00
Prabir Shrestha
06203a1b62 add border 2021-05-31 22:10:25 +00:00
Prabir Shrestha
85e83d24f9 if hover window is foused close 2021-05-31 22:10:25 +00:00
Prabir Shrestha
83b06c3c31 don't close if curpos hasn't changed 2021-05-31 22:10:25 +00:00
Prabir Shrestha
5b0c808a14 fix normalize 2021-05-31 22:10:25 +00:00
Prabir Shrestha
be88744506 set language 2021-05-31 22:10:25 +00:00
Prabir Shrestha
ad251f5338 remove language 2021-05-31 22:10:25 +00:00
Prabir Shrestha
7e16516a29 fix indent 2021-05-31 22:10:25 +00:00
Prabir Shrestha
73b540f127 silent deletebufline 2021-05-31 22:10:25 +00:00
Prabir Shrestha
1b57c6a672 fix col position when far right 2021-05-31 22:10:25 +00:00
Prabir Shrestha
1c28d4fd4c show top if available 2021-05-31 22:10:25 +00:00
Prabir Shrestha
eb280b49f1 apply markdown for preview 2021-05-31 22:10:25 +00:00
Prabir Shrestha
f57037b954 add hover preview support 2021-05-31 22:10:25 +00:00
Prabir Shrestha
6bce32ec3c fix when using empty g:lsp_hover_ui 2021-05-31 22:10:25 +00:00
Prabir Shrestha
e012161316 close on move 2021-05-31 22:10:25 +00:00
Prabir Shrestha
c4b9febb06 always show below the cursor 2021-05-31 22:10:25 +00:00
Prabir Shrestha
09cadddb9a add g:lsp_hover_ui 2021-05-31 22:10:25 +00:00
Prabir Shrestha
c5e8fa97a4 add support for --ui=float|preview for LspHover 2021-05-31 22:10:25 +00:00
Prabir Shrestha
19a90dda7d fix lint issues 2021-05-31 22:10:25 +00:00
Prabir Shrestha
3db0c26a60 rename type to ui 2021-05-31 22:10:25 +00:00
Prabir Shrestha
9b1d4c0a71 use new floating window api for hover 2021-05-31 22:10:25 +00:00
Daisuke Suzuki
541ed984b1 Add LspAddTreeCallHierarchyIncoming (#1139) 2021-05-31 13:41:41 -07:00
woky
d0f6bd5ae7 More secure minimal.vimrc (#1158)
* More secure minimal.vimrc

Make minimal.vimrc not execute arbitrary code from Internet or local processes.
- Do not skip TLS checks. GitHub should have valid TLS certificate.
- Save plug.vim to home directory. /tmp is writeable by all local processes.

* miminal.vimrc: Make plug directory home local too
2021-05-31 13:34:29 -07:00
Prabir Shrestha
f53a98754e perf: parse array instead of combining it to string (#1175) 2021-05-30 13:17:54 -07:00
Prabir Shrestha
28653fc51f add border for documention popup (#1174) 2021-05-30 12:54:16 -07:00
Luis David Licea Torres
324ae1e1eb Fixed typo in docs (#1162)
The word "running" appeared twice, so it was removed. The updated line is 79 characters long.
2021-05-29 13:02:42 -07:00
Linda_pp
1f98a06566 check if selected items are empty on handling code action (fix #1156) (#1157) 2021-05-03 15:40:37 +09:00
Linda_pp
b6898841c7 fix error on editing empty file (#1154) 2021-04-29 14:53:56 +09:00
Linda_pp
80f4b269b5 Merge pull request #1151 from rhysd/fix-1141
Add missing return on empty hover contents
2021-04-27 12:19:58 +09:00
rhysd
664720be06 add missing return on empty hover contents 2021-04-27 12:13:46 +09:00
Agorgianitis Loukas
296fb98d19 Transform cygwin/msys2 paths to windows before encoding them to URIs (#1144)
* Transform cygwin paths to windows before encoding them to uris

* Transform windows paths to cygwin after decoding them from uris

Co-authored-by: mattn <mattn.jp@gmail.com>
2021-04-17 21:25:19 +09:00
tsufeki
89d2889c42 Show completion item detail when there is no documentation (#1133)
Co-authored-by: mattn <mattn.jp@gmail.com>
2021-04-17 21:04:02 +09:00
Prabir Shrestha
5277fc47f0 Revert "only call prop_remove if we have props to avoid clearing of welcome message for vim (#1084)" (#1145)
This reverts commit 627dab05e8.
2021-04-13 15:15:00 -07:00
hrsh7th
9dc382c04a Send workspace_config only if changed (#1137) 2021-04-12 20:16:39 +09:00
Linda_pp
bba0f45c89 Merge pull request #1132 from rhysd/quickpick-3d4d574
Import quickpick.vim#3d4d574d16d2a6629f32e11e9d33b0134aa1e2d9
2021-04-04 21:38:43 +09:00
rhysd
ab0b3530da import quickpick.vim#3d4d574d16d2a6629f32e11e9d33b0134aa1e2d9 2021-04-04 21:33:49 +09:00
Linda_pp
a0023fcc1e Merge pull request #1131 from rhysd/completion-inser-text-refactoring
Make helper function to get completion text from CompletionItem
2021-04-03 14:49:22 +09:00
rhysd
fd8bd1c799 make helper function to get completion text from CompletionItem 2021-04-03 14:44:32 +09:00
Linda_pp
84706b229a Merge pull request #1129 from rhysd/about-maintainers
Include maintainers information in document
2021-04-03 09:54:27 +09:00
rhysd
6f8f49c96e include maintainers information in document
so that users can easily contact to maintainers without making issues on
repository.
2021-04-03 01:26:07 +09:00
Daisuke Suzuki
56124b0104 Always show the kind and name in CallHierarchy (#1128)
Co-authored-by: hrsh7th <hrsh7th@gmail.com>
2021-04-02 22:23:39 +09:00
Linda_pp
4d40d0dfd0 Merge pull request #1130 from rhysd/ci-checkout-v2
Use checkout action v2
2021-04-02 22:09:59 +09:00
rhysd
d9e03c391a use checkout action v2
since it's slightly faster than v1 and actively maintained
2021-04-02 21:59:26 +09:00
Linda_pp
ce3add957a Fix document layout and misspellings (#1127)
* fix document layout

* fix misspellings
2021-03-31 23:09:06 +09:00
Linda_pp
4d4a908224 select preferred action by default in quickpick (#1126)
spec: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_codeAction
2021-03-30 02:30:38 +09:00
Prabir Shrestha
882376cc66 apply markdown for output (#1100) 2021-03-28 12:11:07 -07:00
Linda_pp
337d834443 Include command argument labels in Code Lens item's text (fix #1118) (#1119)
* fix index out of range error when no item in quickpick list

* update embedded quickpick to cf41eecb983c41e5fc45e83291b551a85fe554d3

* generate subtitle of codelens item from command arguments' labels

* add tests for lsp#ui#vim#code_lens#_get_subtitle()
2021-03-28 11:58:41 -07:00
Linda_pp
51adba85f0 use quickpick to choose Code Action (#1123)
Co-authored-by: mattn <mattn.jp@gmail.com>
2021-03-28 22:06:41 +09:00
Linda_pp
800c878209 Support show message notification by handling window/showMessage response (#1120)
* support window/showMessage

* describe g:lsp_show_message_log_level in documentation

* add tests for window/showMessage support

Co-authored-by: mattn <mattn.jp@gmail.com>
2021-03-28 21:58:20 +09:00
obcat
7d7ded98dd Silence plug mappings (#1125) 2021-03-28 21:52:25 +09:00