aboutsummaryrefslogtreecommitdiff
path: root/lua/config/lsp.lua
AgeCommit message (Collapse)Author
2023-03-13fix: omit the clangd missing message, close #180 (#186)jdhao
It is not necessary to install clangd if the user does not use neovim with CPP/C.
2023-02-16refactor: lua language server rename (#185)jdhao
The lua language server from sumneko had changed its repo and created a new organizational repo. See also https://github.com/neovim/nvim-lspconfig/pull/2439.
2022-11-28Add ltex-ls support to lsp. (#166)bldur
* Add ltex-ls support to lsp. Co-authored-by: bldur (https://github.com/bldur)
2022-10-23refactor: use local diagnostic modulejdhao
2022-10-15replace more viml with native lua codejdhao
2022-10-15update nvim-cmp lsp confjdhao
2022-10-04nvim 0.8 updatejdhao
2022-09-10format with styluajdhao
2022-09-09refactor: lsp mappingjdhao
2022-09-06use local keymapjdhao
2022-08-26fix parameter for vim.notifyjdhao
2022-08-18add config dir to workspace.library for lua lspjdhao
2022-08-14chore: renamingjdhao
2022-08-14Merge pull request #62 from jdhao/lua-lspjdhao
update lua lsp conf
2022-08-14update sumneko lua settingsjdhao
1. remove runtime.path settings. It seems that it is not necessary, https://github.com/neovim/nvim-lspconfig/commit/03a047ef52d1bb68a96051c48855799f14a4623b. 2. update workspace.library, ref plugin ii14/emmylua-nvim
2022-08-14make inspect() globaljdhao
2022-08-13update lua-language-server confjdhao
lua-language-server has changed its running method significantly, so we need to change it in the nvim-lspconfig.
2022-05-18lsp: only show diagnostic once for each line if cursor is not movedjdhao
This will help use to check signature help without it being overwritten by diagnostic popups.
2022-05-15refactor: local fn = vim.fnjdhao
2022-04-16[nvim 0.7] use native lua autocmd for cleaner codejdhao
2022-04-16[nvim 0.7] vim.keymap.set opts updatejdhao
2022-04-16[nvim 0.7] use the new vim.keymap interfacejdhao
2022-01-28fix: check if language server exists before usingjdhao
2022-01-28chore: use local variable lspconfigjdhao
2022-01-26add bash-language-serverjdhao
2022-01-23update lsp settingjdhao
2021-12-28fix: lsp reference highlight isn't correctly linkedjdhao
! is need to overwrite possible existing highlight group of the same name.
2021-12-01fix vim.diagnostic.config() option name typojdhao
2021-12-01[v0.6] change LSP and diagnostic according to latest APIjdhao
2021-11-06remove lsp omnifunc confjdhao
I never used it.
2021-11-06simplify lsp configjdhao
2021-11-06[breaking change] make it work for nvim 0.5.1jdhao
In nvim 0.5.1, the lsp handler signature has changed, see https://github.com/neovim/neovim/pull/15504 and LunarVim/LunarVim#1484.
2021-10-23add global variable logging_leveljdhao
2021-10-18use local variablejdhao
2021-10-18nvim-notify updatejdhao
2021-10-18transition from nvim-compe to nvim-cmpjdhao
2021-10-17remove some dead mappingsjdhao
I am not really sure what they do anyway.
2021-09-23show border for diagnostics floating windowjdhao
2021-08-20Reduce timeout for nvim-notifyjdhao
2021-08-18Format with styluajdhao
2021-08-14Use proper true or false value for boolean variablesjdhao
In lua, 0 and empty string is true, which is counter-intuitive and different from vim script. So we need to use proper boolean type for vim script global variables, instead of numbers.
2021-08-12refactor: rename on_attach to custom_attachjdhao
2021-08-12Add sumneko_lua LSPjdhao
2021-08-07chore: formatting and fix spell errorsjdhao
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.