aboutsummaryrefslogtreecommitdiff
path: root/lua
AgeCommit message (Collapse)Author
2021-07-20update lsp hover window border confjdhao
Floating window border supports rounded style by default, no need to use customized one.
2021-07-18Fix fugitive git index related error for packer.nvimjdhao
2021-07-18Remove usage of VimEnter event for packer.nvimjdhao
VimEnter can not really decrease the Nvim startup time.
2021-07-17change onedark theme to onedark.nvimjdhao
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-14Use lua to configure lua pluginsjdhao
2021-07-13update packer.nvim settingsjdhao
Change matching pattern so that we do not confuse this plugins.lua with files of the same name in other path.
2021-07-13update nvim-lsp configjdhao
Add mapping for LSP code actions and remove useless mappings.
2021-07-13update semshi settingsjdhao
Only use it on Windows. Treesitter highlighting may be enough.
2021-07-12Add treesitterjdhao
2021-07-12update onedark install settings for packerjdhao
Onedark decides to change its master branch to main (I don't know why?)
2021-07-09update packer and plugin settingsjdhao
2021-07-09update packer.nvim settingsjdhao
Ref: https://github.com/wbthomason/packer.nvim/issues/455.
2021-07-09Ppdate packer settings for Semshijdhao
If Semshi is set to opt plugin, when we run PackerUpdate, the command `: UpdateRemotePlugins` will be run. At this time, Semshi is not in the runtimepath, so its manifest will not be generated in rplugin.vim (located under ~/.local/share/nvim/rplugin.vim). So when we open a Python file afterwards, although Semshi is in runtimepath, but its manifest is missing, so we see error that command `Semshi enable` is not found. So after loading this plugin, i.e., when we open a Python source file, we need to run UpdateRemotePlugins so that semshi can work correctly.
2021-07-09Correct order of vim-airline and vim-airline-themes.jdhao
No need to use event for vim-airline if we want to load it after vim-airline-themes. See also https://github.com/wbthomason/packer.nvim/issues/461.
2021-07-08Change order of vim-airline and vim-airline-themesjdhao
It seems the order matters if we want to load vim-airline after vim-airlinethemes. See also packer.nvim#461.
2021-07-08Update packer.nvim settingsjdhao
2021-07-07Update nvim-compe settingsjdhao
Do not forgest `noremap = true` when using nvim_set_keymap(), See also https://github.com/hrsh7th/nvim-compe/issues/452.
2021-07-07No need for nvim-miniyankjdhao
Block paste issue fixed in https://github.com/neovim/neovim/pull/14848.
2021-07-06update packer plugin settingsjdhao
2021-07-05Change auto-pairs activation eventjdhao
It seems that BufReadPost does not work sometimes.
2021-07-05Add plugin register.nvimjdhao
2021-07-04update packer settingsjdhao
2021-07-04update packer.nvim settingsjdhao
2021-07-04Add colorscheme nordjdhao
2021-07-04Revert "Add nvim-lspsignature"jdhao
This reverts commit ff9f9dcc162276bc59fdec29f78d244a6aca2cb1.
2021-07-04Add nvim-lspsignaturejdhao
2021-07-04Fix typojdhao
2021-07-04Add debounce time for nvim-lspjdhao
2021-07-04update clangd settingsjdhao
2021-07-04update packer plugin settingsjdhao
2021-07-04Use master branch of indentblanklinejdhao
2021-07-02More tweak on packer.nvimjdhao
2021-07-02switch to packer for plugin managementjdhao
2021-06-26Switch to clangd for nvim-lspjdhao
ccls has some false positive warnings, and it is hard to install on Linux server without roor rights.
2021-06-26Fix ultisnips issue with nvim-compe.jdhao
See also hrsh7th/nvim-compe#389.
2021-06-26disable nvim-compe buffer sourcejdhao
2021-06-19update nvim-compe settingsjdhao
Use ESC to close the nvim-compe completion menu
2021-06-18update nvim-compe settingsjdhao
Only enable omni and spell source for certain filetypes. See also https://github.com/hrsh7th/nvim-compe/pull/170
2021-06-17Update nvim-compe settingsjdhao
Only enable spell source for Markdown files, see also https://github.com/hrsh7th/nvim-compe/pull/84.
2021-06-15fix typo: False ---> falsejdhao
2021-06-15Fix diagnostic window auto-focus issue.jdhao
2021-06-15Make diagnostic floating window unfocusablejdhao
It is annoying that the cursor is focused on the diagnostic floating window every time it is shown. See also: https://github.com/neovim/neovim/pull/14693 and https://github.com/neovim/neovim/pull/14649
2021-04-14Tweak lua stuffjdhao
2021-04-13update nvim-lsp configjdhao
2021-04-12change lsp hover doc borderjdhao
2021-04-12Move lua config to its own lua filesjdhao
Embedding lua in vimscript using lua here doc is not ideal for editing.