1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00
Commit Graph

560 Commits

Author SHA1 Message Date
jdhao 4bb84024eb Make diagnostic floating window unfocusable
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-06-15 10:38:02 +08:00
jdhao 1869ffe4d3 Update vim-airline settings
Disable the scrollbar feature. It is distracting.
Ref: https://github.com/vim-airline/vim-airline/commit/ecac148e19fe28d0f13af5f99d9500c2eadefe4c
2021-05-15 23:56:34 +08:00
jdhao a53cd6766d update indent-blankline settings 2021-04-21 22:35:45 +08:00
jdhao 308d9c0b5d update doc 2021-04-18 17:21:29 +08:00
jdhao 7dc2656354 Remove cursorline 2021-04-14 22:02:44 +08:00
jdhao 20619c8c8e Tweak lua stuff 2021-04-14 02:14:35 +08:00
jdhao b8329b9698 update vim-fugitive settings 2021-04-13 22:53:31 +08:00
jdhao 803b959266 update lua filetype settings 2021-04-13 01:57:37 +08:00
jdhao acf1af73d1 update nvim-lsp config 2021-04-13 01:44:29 +08:00
jdhao b862a40337 Add more plugins 2021-04-13 00:28:16 +08:00
jdhao 9e3a831ec4 update lua filetype settings 2021-04-12 00:31:21 +08:00
jdhao 2228268fd6 change lsp hover doc border 2021-04-12 00:27:32 +08:00
jdhao 2933d7da62 Move lua config to its own lua files
Embedding lua in vimscript using lua here doc is not ideal for
editing.
2021-04-12 00:00:10 +08:00
jdhao 1a16156bd6 Make nvim-compe setting all lua
For lua plugins, configuring them in lua instead of vim script is sensible.
2021-04-11 23:49:17 +08:00
jdhao aeea5f18f5 update nvim-lsp config 2021-04-09 23:40:52 +08:00
jdhao 82a97710c8 Disable unused provider 2021-04-09 23:05:38 +08:00
jdhao 38e2b73408 update nvim-compe settings 2021-04-09 00:29:18 +08:00
jdhao 2f719f9861 remove plugin emmet.vim
Rarely used.
2021-04-08 00:20:28 +08:00
jdhao 3fb9969eba update nvim-lsp config 2021-04-08 00:18:20 +08:00
jdhao 8d5a7477d2 update nvim-lsp related settings 2021-04-07 23:09:19 +08:00
jdhao 50c761119a Use nvim builtin lsp instead of vim-lsp 2021-04-06 01:32:19 +08:00
jdhao efb7a8e34f Enable embeded lua highlight in vim script 2021-04-06 01:31:38 +08:00
jdhao 9d4bfd57e2 Remove blamer.nvim
We can select a line and use command :Git blame to show the blame
message for this line. So this plugin is not really needed.
2021-03-27 00:52:41 +08:00
jdhao 41a2d1b950 update Python settings and related doc 2021-03-25 23:15:54 +08:00
jdhao cabb5b7604 update ignore settings 2021-03-23 23:32:11 +08:00
jdhao 2636f8575e Add more settings for cpp 2021-03-23 23:15:00 +08:00
jdhao b18a643145 Remove cmd line message auto-clear feature 2021-03-20 15:51:17 +08:00
jdhao 1bbc694939 Use termguicolors 2021-03-19 01:14:38 +08:00
jdhao ac0040a982 update vim-lsp settings
Use pylint for linting instead of flake8, which is shitty in finding
apparent errors in the code.
2021-03-19 00:25:48 +08:00
jdhao 01059017c1 Change how non-breakable space is shown 2021-03-11 00:17:14 +08:00
jdhao 10a8ce1006 Use fastgit for cloning vim plugin repos 2021-02-27 22:08:14 +08:00
jdhao 92d3609d81 Update vim-plug setting
vim-plug reads the variable g:plug_home and will set its as the
directory to install plugins. So we do not need to invent a new variable
for this purpose.
2021-02-27 21:55:47 +08:00
jdhao 8103d87ae6 Install vlime only when sbcl is available 2021-02-26 23:28:53 +08:00
jdhao fa0e70bea3 Add plugin neuims for auto IME switch on Windows 2021-02-26 23:23:24 +08:00
jdhao 6f23dea8f3 update airline settings for vim-xkbswitch 2021-02-26 00:09:51 +08:00
jdhao 832fb4c795 Remove tokyonight colorscheme 2021-02-25 23:26:05 +08:00
jdhao b9c2465338 Add plugin vim-xkbswitch 2021-02-25 23:24:00 +08:00
jdhao 09c234035d Update fugitive mappings 2021-02-23 23:46:10 +08:00
jdhao e337f8270a Add settings for YAML 2021-02-23 23:38:00 +08:00
jdhao e79a43c58b Update README 2021-02-23 23:34:48 +08:00
jdhao 1e96062c60 Add mappings for Markdown
Use + to turn lines to an unordered list quickly.
2021-02-23 23:33:59 +08:00
jdhao 12bc009d2d Add「直角引号」for Markdown
「」is useful when writing post in Chinese.
2021-02-21 22:50:27 +08:00
jdhao f4c2817f3e update 2021-02-21 14:24:29 +08:00
jdhao 7085965e05 Refactor the auto-quit logic
Also quit quickfix window if it is the only window left.
2021-02-21 14:21:32 +08:00
jdhao 2672a92e77 Update vimtex settings 2021-02-20 22:24:08 +08:00
jdhao 448fe4ad58 Update vim-fugitive settings
Add mappings
2021-02-20 02:05:37 +08:00
jdhao 0571ce406d Update vimtex settings 2021-02-20 01:50:30 +08:00
jdhao c238468658 Adjust quickfix window height automatically 2021-02-20 00:33:38 +08:00
jdhao 27a107112b Add augroup snippet for vim script 2021-02-20 00:29:55 +08:00
jdhao ffb584ab1c Update vimtex settings 2021-02-20 00:28:47 +08:00