Commit Graph

106 Commits

Author SHA1 Message Date
David JULIEN
7a0030b064 [nvim] fix: lsp count in statusline
vim.lsp.diagnostic.get_count() got deprecated
2021-12-12 23:35:54 +01:00
David JULIEN
f35c6599c0 [nvim] feat: c snippets 2021-12-09 16:47:22 +01:00
David JULIEN
9f940e19da [nvim] cleanup: move tex snippets to ftplugin
move tex snippets to after/ftplugin/tex.lua
add copy function to utils
2021-12-09 16:47:11 +01:00
David JULIEN
28d21abbda [nvim] fix: tikz snippet for tex files 2021-12-06 00:22:28 +01:00
David JULIEN
16fccceae2 [nvim] add tex snippets 2021-12-04 17:13:13 +01:00
David JULIEN
e8dfccb5d8 [nvim] fix: leave netrw alone
netrw used to be prevented from loading. It may prove useful, so it's
back in business
2021-12-02 15:43:16 +01:00
David JULIEN
406a24d127 [nvim] format: move comment to the right 2021-12-02 15:43:16 +01:00
David JULIEN
b057e1566b [nvim] feat: add env snippet
!!!BREAKING : remove "rmk" snippet
2021-11-20 17:10:19 +01:00
David JULIEN
562672bbf1 [nvim] feat: improve snippets
exit on the next line
2021-11-20 17:09:35 +01:00
David JULIEN
0f478a9d4b [nvim] cleanup: remove unused function 2021-11-20 16:13:35 +01:00
David JULIEN
4743d71c8f [nvim] fix: let cmp handle completion 2021-11-20 16:13:30 +01:00
David JULIEN
5450d0c189 [nvim] feat: tex formatoptions 2021-11-20 16:05:46 +01:00
David JULIEN
5b27863d03 [nvim] feat: add lua maps + cmp hierarchy 2021-11-20 16:05:46 +01:00
David JULIEN
bf676aa089
[nvim] cleanup: move plugin config to packer.lua 2021-11-20 15:38:46 +01:00
David JULIEN
5b87400ae3
[nvim] [WIP] feat: luasnip
snippets require refinement
2021-11-20 15:38:32 +01:00
David JULIEN
555cb3e04e [nvim] change packersync map 2021-10-30 15:31:59 +02:00
David JULIEN
2a5d513a00 [nvim] add c and lua filetype settings 2021-10-30 15:31:39 +02:00
David JULIEN
05e1b49a20 [nvim] fix verilog/coq maps 2021-10-30 15:30:07 +02:00
David JULIEN
a137ededaa [nvim] update lua_lsp config 2021-10-30 15:29:45 +02:00
David JULIEN
a532830d77 [nvim] new plugin : autopairs 2021-10-30 15:29:14 +02:00
David JULIEN
ca53077a59
feat: change colorscheme, system-wide
nvim: create the relevant utils
switch-colors: change xcolors + nvim colorscheme
        -> $XDG_STATE_HOME/{xcolors,nvim_colorscheme}
        -> $XDG_DATA_HOME/colorschemes for correspondance
sxhkd: keybindings
2021-10-23 04:11:53 +02:00
David JULIEN
b03369ba79
feat: introducing astronomy.nvim
new colorscheme!

added as a submodule, which will be pulled right where it needs to sit

updated the config to follow the changes

add colorscheme.lua to configurate
!!!BROKEN: this file uses script that are not yet committed
2021-10-23 04:10:12 +02:00
David JULIEN
aca04e5745
[nvim]feat: change colorscheme
!!!BREAKING : discard Polyjuice

new colorscheme will be delivered sooooooon
2021-10-22 00:07:49 +02:00
David JULIEN
b4e4587647 [nvim]cleanup: remove unused maps 2021-10-21 23:50:28 +02:00
David JULIEN
e461e3804b [nvim]fix: verilo maps 2021-10-21 23:49:39 +02:00
David JULIEN
9cb79d2678 [nvim]feat: add maps for verilog 2021-10-21 23:47:47 +02:00
David JULIEN
08760e3f62 [nvim]fix: python-lsp path 2021-10-21 23:47:10 +02:00
David JULIEN
41db867fff [nvim] feat: don't let CoqTail set any mapping 2021-10-19 19:03:15 +02:00
David JULIEN
d17d905645 [nvim] feat: add filetype specific config 2021-10-19 19:02:43 +02:00
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