]>
Sergey Matveev's repositories - vim-lsp.git/log
Yegappan Lakshmanan [Tue, 15 Nov 2022 13:54:51 +0000 (05:54 -0800)]
Modify LspOptionsGet() to return a copy of the plugin options. Update comments and doc
Yegappan Lakshmanan [Tue, 15 Nov 2022 13:44:18 +0000 (05:44 -0800)]
Merge pull request #106 from Shane-XB-Qian/pr_access_lspoption
adding 'OptionsGet' func
shane.xb.qian [Tue, 15 Nov 2022 06:20:22 +0000 (14:20 +0800)]
return entire lsp options instead of specific one
shane.xb.qian [Mon, 14 Nov 2022 15:50:04 +0000 (23:50 +0800)]
upd 'LspOptionsGet' doc
shane.xb.qian [Mon, 14 Nov 2022 04:43:53 +0000 (12:43 +0800)]
adding 'OptionsGet' func
Yegappan Lakshmanan [Tue, 15 Nov 2022 05:46:53 +0000 (21:46 -0800)]
Use the method calling convention for builtin functions consistently
Yegappan Lakshmanan [Tue, 15 Nov 2022 04:36:19 +0000 (20:36 -0800)]
Merge pull request #112 from Shane-XB-Qian/pr_correct_compl_item_label_chk
fix: compl item maybe is 'string'!
shane.xb.qian [Tue, 15 Nov 2022 02:42:36 +0000 (10:42 +0800)]
fix: compl item maybe is 'string'!
Yegappan Lakshmanan [Mon, 14 Nov 2022 19:42:01 +0000 (11:42 -0800)]
Merge pull request #111 from Shane-XB-Qian/pr_tiny_correction
fix: tiny correction
shane.xb.qian [Mon, 14 Nov 2022 16:47:29 +0000 (00:47 +0800)]
fix: tiny correction
Yegappan Lakshmanan [Mon, 14 Nov 2022 15:58:06 +0000 (07:58 -0800)]
Merge pull request #110 from Shane-XB-Qian/pr_reply_maynot_have_result
fix: somehow 'reply' may not have 'result' (or not yet)
shane.xb.qian [Mon, 14 Nov 2022 15:30:30 +0000 (23:30 +0800)]
adding err msg when/if reply no result
Yegappan Lakshmanan [Mon, 14 Nov 2022 15:13:31 +0000 (07:13 -0800)]
Merge pull request #109 from Shane-XB-Qian/pr_mkd_break_line_len
fix: the markdown break line maybe ugly
Yegappan Lakshmanan [Mon, 14 Nov 2022 15:12:21 +0000 (07:12 -0800)]
Merge pull request #107 from Shane-XB-Qian/pr_chk_item_doc_type
fix: should check type of complete_item.doc
shane.xb.qian [Mon, 14 Nov 2022 12:25:22 +0000 (20:25 +0800)]
fix: somehow 'reply' may not have 'result' (or not yet)
shane.xb.qian [Mon, 14 Nov 2022 12:01:38 +0000 (20:01 +0800)]
fix: the markdown break line maybe ugly
shane.xb.qian [Mon, 14 Nov 2022 10:00:09 +0000 (18:00 +0800)]
fix: should check type of complete_item.doc
Yegappan Lakshmanan [Sun, 13 Nov 2022 15:56:27 +0000 (07:56 -0800)]
Minor optimization in omni-completion
Yegappan Lakshmanan [Sun, 13 Nov 2022 15:06:08 +0000 (07:06 -0800)]
Merge pull request #105 from techntools/fix/key-check
Check for dict type before checking for keys
Santosh Bandichode [Sun, 13 Nov 2022 09:39:43 +0000 (15:09 +0530)]
Check for dict type before checking for keys
Yegappan Lakshmanan [Sun, 13 Nov 2022 02:30:35 +0000 (18:30 -0800)]
Move completed related functions to the completion.vim file
Yegappan Lakshmanan [Sun, 13 Nov 2022 00:31:11 +0000 (16:31 -0800)]
Merge pull request #104 from rcasta74/lspmarkdown
Lsp markdown parser for popup documentation
Roberto Castagnola [Sat, 12 Nov 2022 16:16:43 +0000 (17:16 +0100)]
Use markdown parser with hover popup
Roberto Castagnola [Sat, 12 Nov 2022 16:15:48 +0000 (17:15 +0100)]
Add markdown parser
Yegappan Lakshmanan [Sat, 12 Nov 2022 05:16:20 +0000 (21:16 -0800)]
Remove debug message
Yegappan Lakshmanan [Sat, 12 Nov 2022 05:11:00 +0000 (21:11 -0800)]
Simplify the check for server capabilities
Yegappan Lakshmanan [Fri, 11 Nov 2022 16:53:18 +0000 (08:53 -0800)]
Merge pull request #101 from Shane-XB-Qian/pr_correct_test_script
Pr correct test script
shane.xb.qian [Thu, 10 Nov 2022 02:49:33 +0000 (10:49 +0800)]
git ignore test/results.txt and test/Xtest.{c,cpp}
shane.xb.qian [Thu, 10 Nov 2022 02:50:58 +0000 (10:50 +0800)]
fix: correct/refine run test sh script
Yegappan Lakshmanan [Fri, 11 Nov 2022 16:07:52 +0000 (08:07 -0800)]
Add support for specifying a range to the LspCodeAction command
Yegappan Lakshmanan [Fri, 11 Nov 2022 15:33:35 +0000 (07:33 -0800)]
Stop running the tests if clangd is not ready
Yegappan Lakshmanan [Fri, 11 Nov 2022 15:27:52 +0000 (07:27 -0800)]
Merge pull request #102 from Shane-XB-Qian/pr_ci_clangd_14
Pr ci clangd 14
shane.xb.qian [Fri, 11 Nov 2022 02:03:59 +0000 (10:03 +0800)]
ci: complacence with clangd-14 and more robust code
shane.xb.qian [Fri, 11 Nov 2022 01:51:16 +0000 (09:51 +0800)]
ci: install clangd-14 complacence with ubuntu ver
shane.xb.qian [Thu, 10 Nov 2022 03:12:45 +0000 (11:12 +0800)]
fix: (test case) try to specific ubuntu version compliance with clangd
Yegappan Lakshmanan [Wed, 9 Nov 2022 16:05:30 +0000 (08:05 -0800)]
Merge pull request #100 from Shane-XB-Qian/pr_chk_of_didsave
fix: correct the 'didSave' check
shane.xb.qian [Wed, 9 Nov 2022 14:44:12 +0000 (22:44 +0800)]
fix: correct the 'didSave' check
Yegappan Lakshmanan [Wed, 9 Nov 2022 04:38:56 +0000 (20:38 -0800)]
Update the client capabilities. Correctly check for the server capabilities
Yegappan Lakshmanan [Mon, 7 Nov 2022 15:09:17 +0000 (07:09 -0800)]
Merge pull request #99 from Shane-XB-Qian/pr_codeaction_popup_num_selection
feat: make code action popup can be selected by item num
shane.xb.qian [Mon, 7 Nov 2022 07:18:54 +0000 (15:18 +0800)]
feat: make code action popup can be selected by item num, and 'h/l' to close popup as well.
Yegappan Lakshmanan [Sun, 6 Nov 2022 20:28:42 +0000 (12:28 -0800)]
Adding lsp servers through VimEnter autocmd with Plug fails for files loaded from command line. Fixes issue #98
Yegappan Lakshmanan [Sun, 6 Nov 2022 19:18:17 +0000 (11:18 -0800)]
Empty options dict for completionProvider in server capabilities not handled correctly. Fixes issue #97
Yegappan Lakshmanan [Sun, 6 Nov 2022 14:15:11 +0000 (06:15 -0800)]
Merge pull request #96 from Shane-XB-Qian/pr_correct_codeaction_doc
fix: refine code action doc
shane.xb.qian [Sun, 6 Nov 2022 07:04:18 +0000 (15:04 +0800)]
fix: refine code action doc
Yegappan Lakshmanan [Sun, 6 Nov 2022 01:11:44 +0000 (18:11 -0700)]
Add support for adding custom handlers for LSP code-action commands
Yegappan Lakshmanan [Thu, 3 Nov 2022 05:18:09 +0000 (22:18 -0700)]
Support command modifiers for LspGotoDefinition, LspGotoDeclaration, etc. commands
Yegappan Lakshmanan [Wed, 2 Nov 2022 06:11:33 +0000 (23:11 -0700)]
When peeking a symbol definition, declaration, etc. use a popup window instead of a preview window
Yegappan Lakshmanan [Mon, 31 Oct 2022 23:05:13 +0000 (16:05 -0700)]
Merge pull request #93 from atgote/autocomplete-with-server-initiated-edits
Add CompleteDone handler to execute text edits
Yegappan Lakshmanan [Mon, 31 Oct 2022 23:04:49 +0000 (16:04 -0700)]
Merge pull request #94 from atgote/main
initializationOptions and doc corrections
Andrei Tihonovschi [Mon, 31 Oct 2022 20:28:18 +0000 (22:28 +0200)]
initializationOptions and doc corrections
* Corrected `initializationOptions` field type. According to
specification this should be of type `LSPAny` - `any`
* Corrected `PHP` language server configuration section
* Added hint on `LspFormat` command since it is not obvious which
indentation options are used and how indentation may be controlled
Andrei Tihonovschi [Mon, 31 Oct 2022 17:58:51 +0000 (19:58 +0200)]
Add CompleteDone handler to execute text edits
Add CompleteDone autocommand handler to verify if activated completion
require additional text edits ('server-initiated edits') and to perform
these.
The additional text edits are used for example when an import is
required for the completed entity.
Yegappan Lakshmanan [Mon, 31 Oct 2022 02:38:16 +0000 (19:38 -0700)]
Simplify code by adding a function for send notifications
Yegappan Lakshmanan [Sun, 30 Oct 2022 19:56:33 +0000 (12:56 -0700)]
Merge pull request #90 from atgote/main
Correct HandleCodeAction behavior for CodeAction
atgote [Sun, 30 Oct 2022 19:01:39 +0000 (21:01 +0200)]
Merge branch 'yegappan:main' into main
Yegappan Lakshmanan [Sun, 30 Oct 2022 18:48:04 +0000 (11:48 -0700)]
Add support for snippet completion. Tested using the vim-vsnip plugin
Andrei Tihonovschi [Sun, 30 Oct 2022 18:05:29 +0000 (20:05 +0200)]
Correct HandleCodeAction behavior for CodeAction
Both the CodeAction and Command interfaces contain the 'command' member
but these should be handled differently for them. Corrected the
'HandleCodeAction' method to correctly handle these.
Yegappan Lakshmanan [Sun, 30 Oct 2022 00:41:24 +0000 (17:41 -0700)]
Use autocmd_add() function to add autocmds
Yegappan Lakshmanan [Sat, 29 Oct 2022 19:35:21 +0000 (12:35 -0700)]
Use callback functions for async RPC requests to simplify the code
Yegappan Lakshmanan [Fri, 28 Oct 2022 15:29:11 +0000 (08:29 -0700)]
Snipper support is set to true for completion matches (by mistake). Include plugin debug information in the help text. Add debug messages for async RPC calls. Cleanup async RPC APIs
Yegappan Lakshmanan [Fri, 28 Oct 2022 13:34:28 +0000 (06:34 -0700)]
Merge pull request #89 from rcasta74/tracelog
Add sent messages to TraceLog
Roberto Castagnola [Thu, 27 Oct 2022 12:45:51 +0000 (14:45 +0200)]
Add sent messages to TraceLog
Yegappan Lakshmanan [Fri, 28 Oct 2022 06:03:18 +0000 (23:03 -0700)]
Update the sign text used for diags
Yegappan Lakshmanan [Fri, 28 Oct 2022 05:59:55 +0000 (22:59 -0700)]
Add an async RPC function with a callback function. Use it for hover and signature help requests
Yegappan Lakshmanan [Fri, 28 Oct 2022 05:04:13 +0000 (22:04 -0700)]
When displaying the diag popup, validate the line number. Add a test for LspDiagsUpdated autocmd
Yegappan Lakshmanan [Thu, 27 Oct 2022 14:44:04 +0000 (07:44 -0700)]
Invoke the LspDiagsUpdated user-autocmd after the diags are updated
Yegappan Lakshmanan [Thu, 27 Oct 2022 01:46:35 +0000 (18:46 -0700)]
Merge pull request #86 from D4yvid/feat/code-action-in-popup
Create custom popup for code action and added a option to enable/disable it
Yegappan Lakshmanan [Thu, 27 Oct 2022 01:07:21 +0000 (18:07 -0700)]
Update the logic used to jump to a symbol location.
Yegappan Lakshmanan [Thu, 27 Oct 2022 01:01:56 +0000 (18:01 -0700)]
Merge pull request #83 from Shane-XB-Qian/pr_kept_using_cur_win_if_same_buf
fix: not jump if cur one is same buf also
D4yvid [Thu, 27 Oct 2022 00:18:32 +0000 (21:18 -0300)]
Created a option to use popup menu in code action
D4yvid [Thu, 27 Oct 2022 00:14:57 +0000 (21:14 -0300)]
Removed "Print()" method used for debugging
D4yvid [Thu, 27 Oct 2022 00:13:19 +0000 (21:13 -0300)]
Create custom popup for code action and added a option to enable/disable it
shane.xb.qian [Wed, 26 Oct 2022 22:51:59 +0000 (06:51 +0800)]
clarify the comment about symbol jump if same buf had in cur win
Yegappan Lakshmanan [Wed, 26 Oct 2022 22:46:51 +0000 (15:46 -0700)]
Merge pull request #84 from Shane-XB-Qian/pr_ft_server_status
Pr ft server status
shane.xb.qian [Wed, 26 Oct 2022 22:06:19 +0000 (06:06 +0800)]
rename serverStatus to serverRunning
Yegappan Lakshmanan [Wed, 26 Oct 2022 20:35:02 +0000 (13:35 -0700)]
Merge pull request #85 from D4yvid/fix/fix-newlines-in-popups
Fix new lines in completion popup and in the completion detail popup
Dayvid [Wed, 26 Oct 2022 20:06:35 +0000 (17:06 -0300)]
Update handlers.vim
D4yvid [Wed, 26 Oct 2022 16:51:58 +0000 (13:51 -0300)]
Fix new lines in completion popup and in the completion detail popup
Yegappan Lakshmanan [Wed, 26 Oct 2022 15:40:30 +0000 (08:40 -0700)]
In the plugin source files, set the tabstop option in the modeline
Yegappan Lakshmanan [Wed, 26 Oct 2022 15:35:26 +0000 (08:35 -0700)]
Add a function to use with the 'tagfunc' option to jump to a symbol definition
Yegappan Lakshmanan [Wed, 26 Oct 2022 14:25:03 +0000 (07:25 -0700)]
Merge pull request #82 from Shane-XB-Qian/pr_lspsign_trig_chk
fix: check lsp sign trig exist as well
Yegappan Lakshmanan [Wed, 26 Oct 2022 14:23:58 +0000 (07:23 -0700)]
Use a popup window by default to display the diag message when using the LspDiagCurrent command
Yegappan Lakshmanan [Wed, 26 Oct 2022 13:20:42 +0000 (06:20 -0700)]
Merge pull request #81 from D4yvid/feat/diag-in-popup
Add option to show diagnostics in a popup
D4yvid [Wed, 26 Oct 2022 12:46:17 +0000 (09:46 -0300)]
Update autoload/lsp/options.vim
shane.xb.qian [Wed, 26 Oct 2022 11:34:41 +0000 (19:34 +0800)]
feat: add LspServerStatus(ft) func to detect ft lsp server was running or not
shane.xb.qian [Wed, 17 Nov 2021 02:57:28 +0000 (10:57 +0800)]
issue_5: adding func to get LSP server status for ft.
shane.xb.qian [Mon, 17 Jan 2022 08:09:49 +0000 (16:09 +0800)]
fix: not jump if cur one is same buf also
shane.xb.qian [Wed, 26 Oct 2022 09:01:26 +0000 (17:01 +0800)]
ignore *.swp as well (by gitignore)
shane.xb.qian [Wed, 26 Oct 2022 06:51:01 +0000 (14:51 +0800)]
fix: check lsp sign trig exist as well
D4yvid [Wed, 26 Oct 2022 03:24:34 +0000 (00:24 -0300)]
Add new showDiagInPopup option into lsp.txt at doc/lsp.txt
D4yvid [Tue, 25 Oct 2022 21:32:41 +0000 (18:32 -0300)]
Add option to show diagnostics in a popup
Yegappan Lakshmanan [Tue, 25 Oct 2022 02:50:09 +0000 (19:50 -0700)]
Refresh the diag message signs when re-enabling diag highlighting
Yegappan Lakshmanan [Tue, 25 Oct 2022 02:19:10 +0000 (19:19 -0700)]
Code coverage doesn't work for Vim9 scripts. Remove it for now
Yegappan Lakshmanan [Tue, 25 Oct 2022 02:16:14 +0000 (19:16 -0700)]
Wait for diag messages from LSP server
Yegappan Lakshmanan [Tue, 25 Oct 2022 01:59:25 +0000 (18:59 -0700)]
Update the help text with details about using the LSP diagnostics. The location list is not reused for LSP diagnostics. Update the test to wait for the LSP diags to be available.
Yegappan Lakshmanan [Mon, 24 Oct 2022 17:07:37 +0000 (10:07 -0700)]
Merge pull request #79 from Shane-XB-Qian/pr_check_trig_char
fix: check trig char if exist first otherwise broken.
shane.xb.qian [Mon, 24 Oct 2022 17:01:30 +0000 (01:01 +0800)]
fix: change to `get()` style.
Yegappan Lakshmanan [Mon, 24 Oct 2022 15:35:37 +0000 (08:35 -0700)]
Merge branch 'main' of github.com:yegappan/lsp
Yegappan Lakshmanan [Mon, 24 Oct 2022 15:35:22 +0000 (08:35 -0700)]
Add test for LspOutline
shane.xb.qian [Mon, 24 Oct 2022 06:35:35 +0000 (14:35 +0800)]
fix: check trig char if exist first otherwise broken.
Yegappan Lakshmanan [Sun, 23 Oct 2022 19:39:50 +0000 (12:39 -0700)]
Merge pull request #78 from Shane-XB-Qian/pr_empty_user_data
fix: user_data maybe empty otherwise mis-type err.