The client tracks whether it has received a response using a global
'pending' variable. This commit ensures the client clears the 'pending'
variable in the case where it has received a response from the server
but that response was an error response, so that future requests actually
go through.
Diagnostics are enabled only for current document which makes it
pointless to feed them to the QuickFix which is global. This PR changes
that behaviour to use location list, which is window-local, instead.
Close#75
- add LspNextWarning, LspPreviousWarning commands to jump to warnings
- add LspNextDiagnostic, LspPreviousDiagnostic commands to jump to
all kinds of diagnostics
* Handle error if the user hits escape before complete() is done
* replaced tabs with spaces
* implemented should skip to avoid completing when not in insert mode
* fixed tabbing
* simplifed checking for insert on completion
* removed unnecessary else block
* replaced tabs with spaces
* Add : prefix for helptag of Ex commands
* Use function name for helptag of functions
Also adds signature of arguments.
* Apply code block highlights for codes
* Fix link errors
* Do not need link for Vim's options
* Fix some too long lines
* Add link
* Fix tabs
* Filter completed items based on typed word
* Remove logs
* Only calculate typed_word once
* Revert "Only calculate typed_word once"
This reverts commit 161c7f460e.
* Revert "Remove logs"
This reverts commit 861c70fc7c.
* Revert "Filter completed items based on typed word"
This reverts commit c450e839b4.
* Reimplement filtering completion items
* Remove s:remove_typed_part
* Fix for NeoVim
* Use 'ignorecase' to filter items
* Allow configuration of filter
* Add documentation
* Add example for typed_pattern
* Change surrounding of `/$` to indicate it is a tag
* Add g:lsp_ignorecase
* Use filterText for filtering
* Add 'contains' filter
* Fix tests
* Avoid using regex
* Fix bug in 'contains' filter
* Use completion trigger chars for typed text
* Move copy
* Update documentation
* Use textEdit starting position
* Change default typed_pattern
* Update documentation
* Fix documentation
* Add note about narrowing down completions
* Fix tests
* Make filtering note clearer
* Remove duplicate text
* Add <plug>(lsp-document-range-format)
This binding defines an operator and can be used with a motion. Because
s:document_format_range() did only format based on the visual selection
markers, a new type parameter was added to pass the selection type
according to 'opfunc'.
* Denote mapmode for plug mappings and add missing