* passing env to lsp#utils#job#start
* passing env to lsp#client#start
* env for only cmd
* do not need to add
* possible to specify env for the server
* update job.vim
Removed only <Esc> key mappings because it seems to cause problems
in vim8.
Removed only for normal mode, for insert mode <Esc> works perfectly.
Fix#1263 and #1267
* add g:lsp_experimental_workspace_folders
* send client capabilities for workspaceFolders if g:lsp_experimental_workspace_folders is enabled
* fix g:lsp_experimental_workspace_folders missing s
* send workspaceFolders if workspaceFolder capability is defined via client
* add local copy add opened workspace folders
* Add support for workspace folders
* document Workspace folders
* add indent
* fix doc indent
* Format Hover Pop-up Window
1) Applies Vim's gq command to each individual line of content returned by
language server.
2) Fixes scrolling to last line of popup window
* minor
* Add help entry for popup formatting
https://github.com/prabirshrestha/async.vim/pull/47
One of the big mistakes I did in designing async.vim was to default to neovim output. Most of the time you need to get string and this can be costly for vim, since vim by default returns a string, which means we call split in async.vim then the consumer calls join which should had ideally been a noop. This allocates unnecessary memory due to string and array creation. Luckily we can have 100% backwards compatibility as I still default to 'array' if not passed and one can easily override it to 'string'. For callbag.vim's spawn function I had defaulted to 'raw' and make the user decide if they want compatibility.
There should be no impact for neovim from this PR but should have better memory allocation and perf in vim.
To get perf improvements we still need to fix this #1199
* remove unnecessary parameter `force` of `s:close_floating_window()`
- it is never `v:false`
- when it is `v:false`, the function does nothing
* fix `<Plug>(lsp-float-close)` broke `<Esc>` in visual mode
* use new floating window api for hover
* rename type to ui
* fix lint issues
* add support for --ui=float|preview for LspHover
* add g:lsp_hover_ui
* always show below the cursor
* close on move
* fix when using empty g:lsp_hover_ui
* add hover preview support
* apply markdown for preview
* show top if available
* fix col position when far right
* silent deletebufline
* fix indent
* remove language
* set language
* fix normalize
* don't close if curpos hasn't changed
* if hover window is foused close
* add border
* add double tap support for floating LspHover window and lsp-hover-close plug
* fix indent
* fix lint issue
* fix grammar
* *ed
* remove echom register
* fix indent
* add lsp-hover-float and lsp-hover-preview plug
* Fix weird autocmd group names
Problem : augroup "0", "1", and "2" are registered.
Solution: Use proper operator for string concatenation.
* Update callbag.vim
* set type of location list items for diagnostics
* use s:get_diagnostic_severity_text() once while making location list from diagnostics results
Co-authored-by: mattn <mattn.jp@gmail.com>
* 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