aboutsummaryrefslogtreecommitdiff
path: root/lua/config/lsp.lua
AgeCommit message (Collapse)Author
2021-07-29update nvim-lsp settingsjdhao
We shouldn't let the diagnostic window perstist forever. Close the diagnostic windows when certain events happen.
2021-07-29use vim.cmd instead of vim.api.nvim_execjdhao
2021-07-20update lsp hover window border confjdhao
Floating window border supports rounded style by default, no need to use customized one.
2021-07-17More update on nvim-lsp configjdhao
Change border from sharp corner to curved corner.
2021-07-17Update nvim-lspconfig settingsjdhao
1. Customize document hover window border color. 2. Show also the source that generates a certain diagnostic message.
2021-07-15Use pylsp instead of pylsjdhao
It seems that pyls, the original python language server has lost its momentum, and pylsp is a community driven fork of pyls. So nvim-lspconfig has dropped support for pyls in https://github.com/neovim/nvim-lspconfig/pull/1074. See also https://github.com/palantir/python-language-server/issues/935 and https://github.com/python-lsp/python-lsp-server/issues/27.
2021-07-13update nvim-lsp configjdhao
Add mapping for LSP code actions and remove useless mappings.
2021-07-09update packer and plugin settingsjdhao