* Change text edit implementation to support \r
* Fix edit on unloaded buffer
* Add \r\n tests
* Fix for perf
Co-authored-by: mattn <mattn.jp@gmail.com>
* Fix insert text
When insertTextFormat==2, it should prefer insertText. But it may include placeholder.
When insertTextFormat!=2, use insertText since it is plain-text.
When it have textEdit, the inserted text will be modified in later, so insert only word.
Otherwize, insert label since it should be what the server want to insert.
* Check with valid word pattern
* ":" should be invalid character
* Add lsp#utils#make_valid_word
* Add l: prefix
* Add test
* Add test
* \t should be ignored
Co-authored-by: hrsh7th <hrsh7th@gmail.com>
* Improve signature help with lexima.vim
* Fix buffer change problem
* Display signature help after cursor jumped
* Fix event
* Add _ prefix for inner functions
* added lsp#utils#location#_lsp_to_vim_list
* check of response.result
* remove lsp#ui#vim#utils#locations_to_loc_list
* refactor to use s:open_location
* use lsp#utils#is_file_uri
* Multibyte character support for lsp#get_position()
* Multibyte character support for "textDocument/documentHighlight"
* Fix `lsp#utils#byteindex()` would fails if a file is not yet loaded
* Add tests
* Rename lsp#utils#byteindex() and lsp#utils#charindex()
lsp#utils#byteindex() -> lsp#utils#to_col()
lsp#utils#charindex() -> lsp#utils#to_char()
* Multibyte character support for textEdit
* Remove unused line
* Multibyte character support for "textDocument/rangeFormatting"
* Multibyte character support for "textDocument/publishDiagnostics"
* Handle showcmd enabled
* Also handle ruler if not using statusline
* Better handle case of statusline enabled
* Set theme jekyll-theme-merlot
* Only truncate and add ellipses if there is room
* Removed _config.yml file
* Message output handles showcmd and ruler enabled
* Fix lsp#utils#path_to_uri for windows
When encoding the buffer path on Windows the path_to_uri transformed the
C: to C%3A causing problems to LSP functions.
To solve this it as necessary to change the function encode_uri to
receive the start position to encode, so the functions that call it can
specify were to start the encoding.
* Fixed range intervals
When you specify the max on the function range that it will become
inclusive so you need to decrease one of the length since the arrays
starts at 0
* add lsp#utils#decode_uri to fix issue with c++ standard library headers (#106)
* make decode uri function private (#106)
* add reference and license link for decode uri function (#106)
* rename variables to match project coding standards (#106)
* decode uri before substituting slashes in path on windows (#106)
* add uri encoding to path_to_uri method (#106)
* Create preview window instead of using quickfix list
This removes from us burden of providing formatting for content as this
is now simple as setting proper filetype.
* Create custom filetype for preview window
This will allow users to provide their own mappings and features in
hover window easily.
* Add proper statusline for LSP Hover
* Guard and undo_ftplugin
* Support all LSP hover syntaxes