Commit Graph

131 Commits

Author SHA1 Message Date
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
a55a937bf0
Merge branch 'dev' into gentoo
lsp: upgrade sumneko
nvim: show cursorline
2021-10-14 11:56:40 +02:00
David JULIEN
2bf23cc38f feat: show cursorline in neovim 2021-10-14 11:54:37 +02:00
David JULIEN
67c6462ab0
Merge branch 'dev' into gentoo
nvim:
        format config files
        add commenting plugin
2021-10-12 19:10:53 +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
64e5f011cb
Merge branch 'dev' into gentoo
zsh: opam configuration
nvim:
        fix nvim-cmp config
        improve lsp config
2021-10-12 14:02:33 +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
d1ee18cb51
Merge branch 'dev' into gentoo
apply nvim changes
2021-09-25 17:41:00 +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
00bb07a373 feat: add TS Parsers for latex and verilog 2021-09-23 23:27:41 +02:00
David JULIEN
10fafee5fd
Merge branch 'dev' into gentoo
update neovim colorscheme
update neovim completion engine
2021-09-12 02:30:24 +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
823d329246 fix: lsp icons 2021-09-12 02:29:52 +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
David
70c0769e8b feat: change textwidth rules
width is now 80
enforce rule for every filetype
2020-09-29 00:40:09 +02:00
David
d3096d669f feat: change neovim code formatting 2020-09-03 21:10:53 +02:00
David
47bd30f9f5 feat: update neovim ftplugins headers 2020-09-03 21:10:53 +02:00
swytch
d2b3034a8a fix: remove nvim guifont
guifont is a GUI Vim setting
2020-08-26 14:40:53 +02:00
swytch
c70c7447fa fix: fix nvim formatoptions and force hardwrap @80 2020-08-26 14:40:46 +02:00
swytch
90e36ef8aa cleanup: reorganize nvim settings 2020-08-26 14:40:28 +02:00
swytch
0a2719ca8f breaking: change license to MIT in headers 2020-06-25 18:48:18 +02:00
swytch
471a7686f2 feat: update legacy vim config
now use polyjuice colorscheme
custom statusline
vimrc cleanup
fix `noshowmode` comment in nvim config file
remove `cursorline` highlight
2020-06-20 11:39:37 +02:00
swytch
7b4e40c4e2 breaking: change neovim keybindings
highlight turnoff is now <leader>h (was <leader>q)
2020-06-20 11:39:37 +02:00
swytch
f70217fa19 feat: neovim colorscheme now has its own repo
delete neovim `colors` and `polyjuice.colortemplate`
2020-06-20 11:39:37 +02:00
swytch
c2c902da6e cleanup: init.vim
nvim comes with sane defaults, no need to set them again :)
2020-06-20 11:39:37 +02:00
swytch
4e9bad0ebb feat: add a light variant of the nvim colorscheme 2020-06-20 11:39:37 +02:00
swytch
a0918353fe fix: fix nvim verilog filetype config description 2020-06-20 11:39:37 +02:00
swytch
2bf1ae32e3 fix: make nvim colorscheme declaration more robust
some background color were `black`, which was already the color of the
    window background
gather highlight groups
2020-06-20 11:39:37 +02:00
swytch
196eaa667f feat: make nvim statusline more readable in particular cases
change 'nofiletype' string
column now always display 3 digits
change filename shortening threshold (window width: 70 -> 90)
mode is now 3 letters
2020-06-20 11:39:37 +02:00
swy7ch
a91ea4f87e feat: change neovim template plugin + update header of scripts 2020-06-20 11:39:37 +02:00
swy7ch
30f254f6c3 cleanup: global files cleanup
+ update LICENSE declaration in .config/nvim/after/ftplugin
+ remove vim.vim filetype settings
+ change mapping for buffer switch in neovim
2020-06-20 11:39:37 +02:00
swy7ch
84366cec8e feat: set default LaTeX flavor in neovim 2020-06-20 11:39:37 +02:00
swy7ch
0dad71d5b7 cleanup: [nvim] statusline config + update buffer mappings 2020-05-15 15:28:51 +02:00
swy7ch
e7dd076a68 feat: add vim-template plugin 2020-05-12 17:49:05 +02:00
swy7ch
9e4cd125c2 fix: remove trailing space in statusline 2020-05-12 17:48:28 +02:00
swy7ch
b649716aff feat: tweak nvim colorscheme
SpeciaKey is now green (was cyan)
2020-05-12 17:47:43 +02:00
swy7ch
5be11c47dc feat: polish colorscheme
new grey is old darkgrey
    -> new darkgrey is darker
change statusline File colors
change statusline filename retrieving
    -> if the window is small, only show the tail
2020-05-08 18:51:51 +02:00
swy7ch
e4539c77f9 cleanup: reorganize nvim colorscheme 2020-05-08 12:27:57 +02:00
swy7ch
a23217553a
breaking: remove lightline plugin + add custom statusline
remove `lightline` plugin from init.vim
add statusline.vim to configure the statusline
    -> change whether window is focus or not
2020-05-08 12:25:41 +02:00
swy7ch
8ede2ed945 feat: polyshing neovim colorscheme 2020-05-07 12:52:19 +02:00
swy7ch
fd6e1d2ce3 init repo 2020-05-06 03:20:19 +02:00