jdhao
36fa9f91e1
Add update script for macOS
2021-08-02 00:25:25 +08:00
jdhao
42c564019e
Rename setup script for Linux
2021-08-02 00:25:05 +08:00
jdhao
000e3a6f23
update wilder.nvim settings
2021-08-01 15:55:15 +08:00
jdhao
6996b6b24f
ALE is not needed (use nvim-lsp instead)
2021-08-01 00:46:00 +08:00
jdhao
9a1066b4e9
Add wilder.nvim for cmdline auto-completion
2021-08-01 00:43:24 +08:00
jdhao
55f0e34e3a
chore: update docs and code for markdown list function
2021-07-31 21:14:44 +08:00
jdhao
ce5710be00
update airline themes
2021-07-30 01:59:03 +08:00
jdhao
116be0f851
Add doom-one colorscheme
2021-07-30 01:58:47 +08:00
jdhao
e4cfefe76b
chore: remove trailing sapces
2021-07-30 01:50:20 +08:00
jdhao
3f0c6650f2
Update load condition for vim-fugitive
...
See https://stackoverflow.com/a/38088814/6064933 for how to check if we
are inside a Git repository.
2021-07-29 23:11:30 +08:00
jdhao
c8777db448
update nvim-lsp settings
...
We shouldn't let the diagnostic window perstist forever. Close the
diagnostic windows when certain events happen.
2021-07-29 22:31:36 +08:00
jdhao
13dc38343e
update packer settings for fugitive.vim
2021-07-29 00:10:04 +08:00
jdhao
84680878a2
use vim.cmd instead of vim.api.nvim_exec
2021-07-29 00:09:42 +08:00
jdhao
3cdb08c5f1
update flog setting (make it opt)
2021-07-27 00:02:06 +08:00
jdhao
7ff53d1b91
update fugitive settings
2021-07-27 00:01:45 +08:00
jdhao
69e9a6b872
Add plugin vim-flog for better git-log display
2021-07-26 23:54:25 +08:00
jdhao
22e17f77c1
update python snippets
2021-07-26 00:14:34 +08:00
jdhao
9a31a24a25
update readme
2021-07-25 16:44:16 +08:00
jdhao
89284cf903
update README
2021-07-24 23:19:06 +08:00
jdhao
f7475f3e4f
Refactor: use a unified log function
2021-07-24 14:53:48 +08:00
jdhao
b0eb7c4508
Simplify file reload logic
2021-07-24 13:11:24 +08:00
jdhao
edd74337a9
Use vim.cmd instead of vim.api.nvim_exec
2021-07-24 12:45:54 +08:00
jdhao
4ff301a728
Add committia.vim for better git commit experience
...
It can show git diff in a separate split, which is better than git
commit --verbose.
2021-07-24 01:38:54 +08:00
jdhao
f7a84825ad
vim-tmux-focus-events is now obsolete
...
See also b1330e04ff
2021-07-24 01:31:09 +08:00
jdhao
fae45c5dc8
Clean the code
2021-07-24 01:18:15 +08:00
jdhao
081763697b
Remove plugin vim-titlecase
...
I cann't even remember when I used it last time.
2021-07-24 01:12:18 +08:00
jdhao
5779c5ef38
Update dictionary
2021-07-24 00:14:19 +08:00
jdhao
175ba14e5d
update lsp hover window border conf
...
Floating window border supports rounded style by default, no need to use
customized one.
2021-07-20 00:35:40 +08:00
jdhao
d8d1401a78
Move options to one place
2021-07-19 22:52:59 +08:00
jdhao
b210540eab
Update setup script
2021-07-18 18:36:50 +08:00
jdhao
b5162f02b8
Merge branch 'nvim-lsp' of https://github.com/jdhao/nvim-config into nvim-lsp
2021-07-18 18:14:03 +08:00
jdhao
7ab5e96b77
Merge pull request #13 from easion101/patch-1
...
use xvf to extract node; fix a typo
2021-07-18 05:13:46 -05:00
jdhao
ba490516e7
Fix fugitive git index related error for packer.nvim
2021-07-18 18:00:40 +08:00
jdhao
6ed7a50ac8
Remove usage of VimEnter event for packer.nvim
...
VimEnter can not really decrease the Nvim startup time.
2021-07-18 18:00:25 +08:00
easion101
e2f129d46d
failed to install Node
...
1. line 99 tries to extract a zipped file which would be downloaded later(at line 105), and then line 112 will extract that file again, except that it's using a wrong argument "zxvf".
fix: comment out line 99, fix line 112 args from "zxvf" to "xvf"
2. typo at line 116, I think it should be "NODE_DIR", it was "NVIM_DIR", which hasn't be installed yet.
2021-07-18 17:58:31 +08:00
jdhao
d7ad230e01
change onedark theme to onedark.nvim
2021-07-17 01:49:15 +08:00
jdhao
155d9a1f9b
More update on nvim-lsp config
...
Change border from sharp corner to curved corner.
2021-07-17 00:47:19 +08:00
jdhao
dc6a510526
Update nvim-lspconfig settings
...
1. Customize document hover window border color.
2. Show also the source that generates a certain diagnostic message.
2021-07-17 00:22:33 +08:00
jdhao
49f5f0155a
Update install script
2021-07-16 01:09:38 +08:00
jdhao
7e75a91d66
Add install instruction for nodejs and vim-language-server
2021-07-16 00:44:28 +08:00
jdhao
ffb0601aca
Use pylsp instead of pyls
...
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-15 23:33:02 +08:00
jdhao
4689c4b22f
Use lua to configure lua plugins
2021-07-14 00:51:30 +08:00
jdhao
764bd0c2bb
fix: use normal!
...
Use command normal! to avoid any mapping being accidentally used.
2021-07-13 22:42:40 +08:00
jdhao
9c434b472e
update packer.nvim settings
...
Change matching pattern so that we do not confuse this plugins.lua with
files of the same name in other path.
2021-07-13 01:34:18 +08:00
jdhao
64819a99ce
update nvim-lsp config
...
Add mapping for LSP code actions and remove useless mappings.
2021-07-13 01:21:38 +08:00
jdhao
9004e09b76
update semshi settings
...
Only use it on Windows. Treesitter highlighting may be enough.
2021-07-13 01:06:06 +08:00
jdhao
eeb09d88a9
Update README
2021-07-13 00:22:11 +08:00
jdhao
bc0a08394b
Add treesitter
2021-07-12 23:47:11 +08:00
jdhao
b9801dd0bc
More cpp snippets
2021-07-12 23:47:11 +08:00
jdhao
8753d5c555
update the snippets to print 1D and 2D sequences
...
Use template to make the function general enough for normal cases.
Ref: http://users.cis.fiu.edu/~weiss/Deltoid/vcstl/templates
2021-07-12 23:46:51 +08:00