aboutsummaryrefslogtreecommitdiff
path: root/lua
AgeCommit message (Collapse)Author
2021-08-05Use nvim-notify for showing messagesjdhao
2021-08-04Remove neodark themejdhao
It does not have good highlight for Markdown links.
2021-08-01ALE is not needed (use nvim-lsp instead)jdhao
2021-08-01Add wilder.nvim for cmdline auto-completionjdhao
2021-07-30Add doom-one colorschemejdhao
2021-07-30chore: remove trailing sapcesjdhao
2021-07-29Update load condition for vim-fugitivejdhao
See https://stackoverflow.com/a/38088814/6064933 for how to check if we are inside a Git repository.
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-29update packer settings for fugitive.vimjdhao
2021-07-29use vim.cmd instead of vim.api.nvim_execjdhao
2021-07-27update flog setting (make it opt)jdhao
2021-07-27update fugitive settingsjdhao
2021-07-26Add plugin vim-flog for better git-log displayjdhao
2021-07-24Use vim.cmd instead of vim.api.nvim_execjdhao
2021-07-24Add committia.vim for better git commit experiencejdhao
It can show git diff in a separate split, which is better than git commit --verbose.
2021-07-24vim-tmux-focus-events is now obsoletejdhao
See also https://github.com/tmux-plugins/vim-tmux-focus-events/commit/b1330e04ffb95ede8e02b2f7df1f238190c67056
2021-07-24Clean the codejdhao
2021-07-24Remove plugin vim-titlecasejdhao
I cann't even remember when I used it last time.
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