Commit graph

49 commits

Author SHA1 Message Date
Bruno BELANYI 68b9c3b9b1 home: vim: remove 'vim-pandoc'
The tree-sitter code-block high-lighting is built-in and works better,
and I don't use any of the other features.
2023-05-07 13:04:37 +01:00
Bruno BELANYI 20341a3129 refactor: 'with lib.my' -> 'with lib' 2023-03-16 16:42:55 +00:00
Bruno BELANYI 41bd17e3ca home: vim: migrate to 'gruvbox-nvim'
I think this one will be more up-to-date with NeoVim evolutions, like
LSP semantic tokens.
2023-03-07 11:05:07 +00:00
Bruno BELANYI a29deaa9bc home: vim: use 'lsp-formatting.nvim'
A few things that are different:
* Async by default.
* Takes care of the order of formatters, if I ever need to do that.
* Allows for easily disabling formatting (unfortunately this is global
  state, not buffer-local).
* Gets rid of the formatting pause when doing `:wq`.
2023-03-07 11:05:07 +00:00
Bruno BELANYI 2ffb8e6ee6 home: vim: add 'nvim-osc52'
All checks were successful
continuous-integration/drone/push Build is passing
I do get the message when copying into the clipboard while ssh-ing.

But trying to paste from my system clipboard shows that it did *not* get
copied. This seems to only happen inside tmux.

However tmux itself *does* copy to the clipboard correctly through OSC52.
2023-02-12 11:55:58 +00:00
Bruno BELANYI 2b3fb4fa5a home: vim: use shorter tree-sitter alias 2023-02-08 14:03:23 +00:00
Bruno BELANYI 4971634115 home: vim: make it the default editor explicitly 2023-02-07 14:19:50 +00:00
Bruno BELANYI b4d745c50e home: vim: add 'cmp_luasnip'
I had forgotten to add it even though I configured it as a source...
2023-01-20 19:16:20 +00:00
Bruno BELANYI 19e42cdc26 home: vim: reorder snippet plugins 2023-01-20 19:15:31 +00:00
Bruno BELANYI 4216c654e7 home: vim: migrate to 'nvim-surround'
It's potentially more customizable, and integrates with tree-sitter. It
also allows for buffer/filetype specific pairs.
2022-09-02 09:56:20 +02:00
Bruno BELANYI 9f82981602 home: vim: add 'nvim-lspconfig'
For some reason I had not added it to my plug-in list, but it still
worked until I bumped my inputs.
2022-06-23 10:02:32 +02:00
Bruno BELANYI 6417b5f4ba home: vim: sort plugin list 2022-03-11 10:08:25 +01:00
Bruno BELANYI 8d4a1e61b4 home: vim: telescope: add LSP handler 2022-03-08 20:57:28 +01:00
Bruno BELANYI a923c2c30e home: vim: add 'friendly-snippets' 2022-03-08 10:41:35 +01:00
Bruno BELANYI 85a7e200ad home: vim: add 'nvim-ts-context-commentstring' 2022-03-08 10:41:35 +01:00
Bruno BELANYI 551ef640fc home: vim: sort plugin list 2022-03-08 10:41:35 +01:00
Bruno BELANYI fb3b773249 home: vim: add 'luasnip' 2022-03-08 10:41:35 +01:00
Bruno BELANYI 506c52fb83 home: vim: completion: add 'cmp-under-comparator' 2022-03-08 10:41:35 +01:00
Bruno BELANYI 0b2911e49e home: vim: add 'dressing-nvim' 2022-03-08 10:41:35 +01:00
Bruno BELANYI 9364fe546d home: vim: telescope: set-up 'fzf' matching 2022-03-08 10:41:35 +01:00
Bruno BELANYI 7fec5f870a home: vim: replace 'fzf' with 'telescope'
I like the fact that it uses built-in buffers to preview files.

It also has more inertia behind it, tighter integrations in the
ecosystem.
2022-03-08 10:41:35 +01:00
Bruno BELANYI bceb531518 home: vim: add 'cmp-nvim-lsp' 2022-03-08 10:41:35 +01:00
Bruno BELANYI 02225dcb93 home: vim: add 'nvim-cmp' 2022-03-04 17:40:30 +01:00
Bruno BELANYI 2ad4ba563d home: vim: remove 'fastfold'
I don't think I need it anymore, neovim improves the native performance
well enough.
2022-03-04 17:40:30 +01:00
Bruno BELANYI 997b98f49b home: vim: add 'clang-tools' to vim package
It includes both `clangd` and `clang-format`, even though I'm mostly
looking for the later.
2022-03-04 17:40:30 +01:00
Bruno BELANYI 03564813af home: vim: add linters & formatters to vim package
I use them so often, I basically always want them available.
2022-03-04 17:40:30 +01:00
Bruno BELANYI 267b82393f home: vim: add 'gitsigns-nvim' 2022-03-04 17:40:30 +01:00
Bruno BELANYI bce9855da1 home: vim: show LSP progress in status line 2022-03-04 17:40:30 +01:00
Bruno BELANYI 2152f9dd1e home: vim: switch to 'lualine' 2022-03-04 17:40:30 +01:00
Bruno BELANYI 8155f6be4c home: vim: add 'ambroisie.utils' lua module 2022-03-03 18:15:28 +01:00
Bruno BELANYI a5ec91088d home: vim: add 'treesitter-textobjects' 2022-03-03 18:15:28 +01:00
Bruno BELANYI 9e7f7ed736 home: vim: add 'which-key-nvim' 2022-03-02 12:30:53 +01:00
Bruno BELANYI bbc32d6030 home: vim: add 'nvim-treesitter'
IMHO, this is *very* colorful, I might not end up using the highlighting
after all.

Let's see if I get used to it after a little while.
2022-03-02 12:30:53 +01:00
Bruno BELANYI 58de8106a1 home: vim: add 'lsp_lines'
I dislike the diagnostics *next* to affected lines.

This looks neater, though the best look would be a simple hover window
or status line message instead, like ALE used to do.

It might grow on me however.
2022-03-02 12:30:53 +01:00
Bruno BELANYI e1a8c9e563 home: vim: add 'null-ls' 2022-03-02 12:30:53 +01:00
Bruno BELANYI ad7b9a574d home: vim: add 'lightline-lsp' 2022-03-02 12:30:53 +01:00
Bruno BELANYI 5c3d3f5f1c home: vim: remove 'ALE' configuration
First step to modernising my configuration to use the native LSP client
instead.
2022-03-02 12:13:13 +01:00
Bruno BELANYI cdabd4fb5d home: vim: switch back to gruvbox theme
Onedark is too annoying to deal with, and I still like gruvbox's colors
best.
2021-09-29 18:50:33 +02:00
Bruno BELANYI e92c46fc6d home: vim: make it enable-able 2021-03-14 12:18:09 +00:00
Bruno BELANYI 131ee2ceeb home: vim: add some wrapper plugins 2021-03-03 17:02:49 +00:00
Bruno BELANYI fdc150bea2 home: vim: refactor linked directories
This is more DRY.
2021-03-03 17:02:49 +00:00
Bruno BELANYI f1e4a4d914 home: vim: add 'after' 2021-03-03 17:02:49 +00:00
Bruno BELANYI d74aead9ae home: vim: add 'autoload' 2021-03-03 17:02:49 +00:00
Bruno BELANYI 300e16dace home: vim: add 'ftdetect' 2021-03-03 17:02:49 +00:00
Bruno BELANYI 6ea69fae87 home: vim: add 'plugin' directory 2021-03-03 17:02:49 +00:00
Bruno BELANYI 513c1555f1 home: vim: load 'onedark-vim' manually 2021-03-03 17:02:49 +00:00
Bruno BELANYI e5f4416a85 home: vim: add 'init.vim' 2021-03-03 17:02:49 +00:00
Bruno BELANYI 828c1663da home: vim: add plugins
Pretty much every one that was in my dotfiles
2021-03-03 17:02:49 +00:00
Bruno BELANYI 5d508771ce home: add vim
This actually uses neovim... I'm done with trying to be compatible with
both I haven't actually migrated my configuration to it yet, this is not
even the bare minimum.

We'll get there :-)
2021-03-03 17:02:49 +00:00