aboutsummaryrefslogtreecommitdiff
path: root/lua
AgeCommit message (Collapse)Author
2021-08-18Use nvim-hlslens instead of vim-anzujdhao
2021-08-18Add colorscheme everforestjdhao
2021-08-18Format with styluajdhao
2021-08-17Try chadtree :) fast as fuck?jdhao
2021-08-17update neoscroll configjdhao
2021-08-15Use neoscroll instead of vim-smoothiejdhao
2021-08-15Change bufferline plugin to nvim-bufferlinejdhao
It looks better than barbar.nvim, IMO.
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-14update barbar.nvim settingsjdhao
2021-08-14update treesitter settingsjdhao
TS highlighting for bash is not so good.
2021-08-13update barbar.nvim settingsjdhao
2021-08-13Use barbar.nvim for tablinejdhao
2021-08-12Use delimitMate instead of auto-pairsjdhao
2021-08-12refactor: rename on_attach to custom_attachjdhao
2021-08-12Add sumneko_lua LSPjdhao
2021-08-09update nvim-bqf settingsjdhao
2021-08-09update vim-anzu and vim-cool settingsjdhao
We shouldn't set them as opt, otherwise *, and n , N etc. do not work in normal mode, unless we activate them on CmdlineEnter events.
2021-08-08Add plugin nvim-bqfjdhao
2021-08-08change plugin load conditionjdhao
vim-searchlight needs to work when we press n or N or * etc, not just after pressing / and ?.
2021-08-08Change plugin load conditionjdhao
2021-08-08Change ultisnips load conditionjdhao
Benefit of doing this: + No change of cursor line position after entering insert mode. Previous, if we load ultisnips on InsertEnter, the cursor line will moved automatically (e.g., if cursor line is on bottom of the screen, when we enter insert mode, now we are at the middle of the screen, like Ctrl-E is used before entering insert mode), which is really annoying! + We can see the snippets in nvim-compe auto-completion menu. Previously, the snippets are not shown on the nvim-compe completion menu (snippet expansion works though, it is just we can not see snippets in the completion menu), possibly due to the loading order of ultisnips and nvim-compe, because we load them both on event InsertEnter. After changing ultisnips to a start plugin, this issue is gone.
2021-08-07Move packer compile autocmd to new placejdhao
2021-08-07chore: formatting and fix spell errorsjdhao
2021-08-07Fix: the loading condition for fugitive is wrongjdhao
We should load fugitive in the following two situations: + When we open nvim in a Git repository + When we are inside nvim and change the working directory to a Git reposity
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