Commit Graph

77 Commits

Author SHA1 Message Date
David JULIEN
ecc15d8798 [nvim] fix: texlab command for lsp
specified the path to lsp server
2021-10-18 22:48:42 +02:00
David JULIEN
1552146cd7 [nvim] cleanup: plugin setup inside plugins.lua
move `require("<plugin>") to nvim/lua/plugins.lua
2021-10-17 14:58:15 +02:00
David JULIEN
1634cc1679 [nvim] feat: Comment plugin keymaps 2021-10-17 14:41:33 +02:00
David JULIEN
6bd3c20f7d [nvim] feat: auto install lsp servers
python, lua, bash, tex
2021-10-17 12:49:55 +02:00
David JULIEN
17f7b09431
[nvim] feat: remove sumneko_lsp submodule
!!! BREAKING: install sumneko_lua through nvim
2021-10-17 12:46:32 +02:00
David JULIEN
ca81062105
[nvim] feat: use nvim_lsp_installer
manage lsp servers through nvim's plugin

!!! BREAKING: requires npm
check https://github.com/williamboman/nvim-lsp-installer.git
2021-10-17 12:44:44 +02:00
David JULIEN
2bf23cc38f feat: show cursorline in neovim 2021-10-14 11:54:37 +02:00
David JULIEN
ddc0447818 feat: add commenting plugin to nvim 2021-10-12 19:10:20 +02:00
David JULIEN
c2e341f23e cleanup: rename module local name
lsp -> M
2021-10-12 19:08:51 +02:00
David JULIEN
83cb6c2000 format: add info header to nvim-treesitter config 2021-10-12 19:08:03 +02:00
David JULIEN
101d37ff52 feat: update lsp config
c: make nvim-cmp capabalities available
lua: ignore some non-standard keywords
2021-10-12 14:01:37 +02:00
David JULIEN
05d89420f0 fix: nvim-cmp config
fix [Tab] behavior
2021-10-12 14:00:47 +02:00
David JULIEN
09b2d82212
feat: apply changes of neovim LSP
LSP diagnostics changed names
2021-09-25 17:39:20 +02:00
David JULIEN
9a89111c5a feat: change neovim's LSP icons 2021-09-25 17:34:20 +02:00
David JULIEN
c38ffd81d2 feat: change nvim completion engine
BREAKING: now using hrsh7th/nvim-cmp, because nvim-compe has been
deprecated
2021-09-12 02:30:11 +02:00
David JULIEN
d844edf6dc [neovim] fix: lazy-load nvim-telescope dependencies 2021-07-30 22:42:39 +02:00
David JULIEN
c4aeb144cb cleanup: remove unnecessary settings for nvim plugins
no need for "opt = true" when using "cmd = ..." or "ft = ..."
2021-07-22 23:10:38 +02:00
David JULIEN
2b9ba03eaf
refactor: configure LSP in ~/.config/nvim/lua/lsp
-> moved from ~/.config/nvim/
.../nvim/lua/lsp/init.lua now has a setup() function

!!! nvim-lspconfig is now lazy-loaded
-> packer checks filetype (see .../nvim/plugins.lua)
2021-07-22 23:05:08 +02:00
David JULIEN
e159cad0ec format: don't create tables for one single string 2021-07-22 23:00:55 +02:00
David JULIEN
3d13e614a0 feat: lazyredraw the windows' content
e.g. when applying a macro on several lines
2021-07-22 22:59:33 +02:00
David JULIEN
cca9b19fe7 feat: update Tree-sitter on launch 2021-07-12 16:16:24 +02:00
David JULIEN
03ae7cfce3 feat: more telescope mappings 2021-05-30 00:03:02 +02:00
David JULIEN
c7b3fc1851 feat: don't need full path displayed in nvim status 2021-05-30 00:03:02 +02:00
David JULIEN
2737cfc4a2 feat: make use of vim.opt
!!! BREAKING : requires neovim #13479 (commit `43956de` on master)
2021-05-30 00:02:56 +02:00
David JULIEN
c5ab5d8168 fix: copy to xclipboard mapping 2021-05-28 10:09:25 +02:00
David JULIEN
73dd0ae2be feat: remove nvim buffer indicator 2021-05-28 00:52:16 +02:00
David JULIEN
8bbc5d7097 format: nvim-telescope requirements 2021-05-25 16:35:00 +02:00
David JULIEN
c4c010b067 fix: nvim clipboard behavior 2021-05-25 16:35:00 +02:00
David JULIEN
5529c37703 feat: add treesitter highlighting and indentation
tweak colorscheme to be usable
add nvim-treesitter setup file
disable native nvim indentation
2021-05-25 16:34:37 +02:00
David JULIEN
9f56efa64a feat: LaTeX LSP configuration 2021-05-24 23:59:54 +02:00
David JULIEN
3c6fddd58f feat: LSP + Telescopes mappings in neovim 2021-05-23 01:37:44 +02:00
David JULIEN
98a005d6f3 feat: clangd setup 2021-05-23 00:49:37 +02:00
David JULIEN
468a358a68 feat: gf on colorscheme in nvim/init.lua 2021-05-22 01:05:14 +02:00
David JULIEN
6e23ee1e40 feat: move lsp mappings to nvim/lua/maps.lua 2021-05-22 01:04:35 +02:00
David JULIEN
9c2569e575 fix: local and global declarations 2021-05-21 22:49:21 +02:00
David JULIEN
694b9d4024 feat: add auto complete icons 2021-05-21 22:49:05 +02:00
David JULIEN
7e3cc716c5 feat: configure lua LSP for neovim 2021-05-21 22:49:05 +02:00
David JULIEN
2cd4ccc6ee fix: path comments 2021-05-21 22:48:13 +02:00
David JULIEN
4959c90448 feat: update LSP icons (signcolumn + statusline)
also add a globals.lua file
2021-05-21 11:58:59 +02:00
David JULIEN
14e6663e6c feat: setup auto completion for neovim 2021-05-19 11:56:12 +02:00
David JULIEN
32680ec340 feat: configure LSP in neovim
add LSP config in $XDG_CONFIG_HOME/nvim/lua/lsp
add language servers:
        - clangd (C/C++)
        - jedi (Python)
2021-05-19 11:56:12 +02:00
David JULIEN
8ec80d78f5 feat: use HEAD@neovim instead of arch package
BREAKING: require neovim v0.5+ to work!!!

migrate neovim configuration to lua
2021-05-19 11:56:12 +02:00
David JULIEN
d8b1624160 fix: reword <leader> definition 2021-03-10 22:59:43 +01:00
David JULIEN
0506dee677 feat: add sent piping + fix description 2021-03-10 22:59:43 +01:00
David JULIEN
0f7c486c5c fix: RO/MO hint for NCStatusline 2021-03-10 22:59:43 +01:00
David JULIEN
9d06a61780 legal: change license to GPLv3 in script headers
Kept wondering wether I should keep the MIT (because I highly value
freedom of act) or embrace the GPL (because I don't want this work to
become close-source).

I do understand that this commit (and the next one that is actually
changing the LICENSE) is a defeat for freedom. I guess freedom has been
defeated long time ago, when people and companies figured that was
"free" (as in gratis) was also "free" (as in disposable).

This is not how I think free (as in "libre") works but hey, that surely
is how Intel and other corporations see it (ec: Intel Management Engine
is entirely based on Minix, is close-source, and *maybe* used as a
backdoor by anybody).

It boils down to the Paradox of Tolerance, and I surely won't tolerate
shit going their way. If you want to take open source stuff, be my
guest ; but you have to play by the rules.
2021-02-16 01:09:56 +01:00
David JULIEN
bc7ba31d5c fix: add padding to pos in non-focused window 2021-02-16 01:09:56 +01:00
swy7ch
d0710eb249 fix: fix cursor positioning in templates 2020-12-14 12:10:21 +01:00
David
1b42bac86a feat: add headers to nvim files 2020-11-10 15:01:37 +01:00
David
aa3a983db3
feat: add file templates 2020-11-10 14:59:10 +01:00