Bruno BELANYI
b0f054b1e6
home: vim: configure 'lsp_lines'
2023-05-03 15:02:44 +00:00
Bruno BELANYI
6cdbd6bb29
home: vim: lua: lsp: remove diagnostic on hover
2023-05-03 15:02:44 +00:00
Bruno BELANYI
5c372cfa95
home: vim: use 'exrc'
...
Remove the home-grown "solution" that I had stolen from school (and
never used...) for project-local configuration.
Since [1], it is okay to use the built-in vim option for this, since it
only asks for user-input before trusting a file.
Since [2] they even support lua files!
[1]: https://github.com/neovim/neovim/pull/20956
[2]: https://github.com/neovim/neovim/pull/21436
2023-05-03 15:02:44 +00:00
Bruno BELANYI
e9f07e67dc
home: vim: add diff line matching
...
ci/woodpecker/push/check Pipeline was successful
This should bring more readable diffs. See [1].
[1]: https://github.com/neovim/neovim/pull/14537
2023-04-19 08:36:40 +00:00
Bruno BELANYI
2375f88e56
home: vim: use patience diff
...
This brings it in line with my `git` configuration.
2023-04-19 08:34:39 +00:00
Bruno BELANYI
84fc1601c5
home: vim: 'unimpaired' mappings for formatting
...
continuous-integration/drone/push Build is passing
I'll migrate to calling the lua API directly if they stop expecting a
non-nil argument.
2023-03-20 09:52:05 +00:00
Bruno BELANYI
0241bfc781
home: vim: modify 'unimpaired' quickfix mappings
2023-03-20 09:52:05 +00:00
Bruno BELANYI
20341a3129
refactor: 'with lib.my' -> 'with lib'
2023-03-16 16:42:55 +00:00
Bruno BELANYI
623bb6c893
home: vim: git: attach to untracked buffers
...
continuous-integration/drone/push Build is passing
Turns outs it looks way more discreet now. Whether that's due to an
update to the plug-in or my changing colorscheme, I don't know.
2023-03-13 15:49:07 +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
3122db6536
home: vim: disable mouse integration
2023-03-07 11:05:07 +00:00
Bruno BELANYI
225e8f236e
home: vim: ftdetect: add direnv
continuous-integration/drone/push Build is passing
2023-02-17 15:53:55 +00:00
Bruno BELANYI
2ffb8e6ee6
home: vim: add 'nvim-osc52'
...
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
e04fa74412
home: vim: lua: utils: add 'is_ssh'
continuous-integration/drone/push Build is passing
2023-02-11 22:17:22 +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
5f3299e383
home: vim: luasnip: use lazy-loading
2023-01-20 19:10:14 +00:00
Bruno BELANYI
16d4147321
home: vim: lspconfig: update deprecated call
2022-11-03 18:07:00 +01:00
Bruno BELANYI
236d48befb
home: vim: lua: lsp: update for nvim 0.8
...
Two big changes:
* Making use of the lua API for creating autocmds.
* Using `client.supports_method`.
2022-11-03 18:07:00 +01:00
Bruno BELANYI
3c3e56002f
home: vim: add 'nix' ftplugin
2022-10-26 14:14:01 +02: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
7e4e41a07f
home: vim: add 'tiger' file-type configuration
2022-06-20 14:33:44 +02:00
Bruno BELANYI
341450db5c
home: vim: ftdetect: add tiger
2022-06-15 11:27:03 +02:00
Bruno BELANYI
489b79f078
home: vim: completion: activate 'ghost_text'
...
I'm still thinking whether I would want to use one of those signature
helper windows to go with this/replace this feature.
Could be especially useful in C++.
2022-05-19 14:53:09 +02:00
Bruno BELANYI
93e50508c9
home: vim: lua: lsp: add signature help mapping
2022-04-27 14:02:17 +02:00
Bruno BELANYI
e591344eb3
home: vim: git: map keys on start
...
Instead of mapping those keys when `gitsigns` attaches to a buffer...
2022-04-27 14:02:17 +02:00
Bruno BELANYI
481d5f6f53
home: vim: lualine: use 'FugitiveHead'
...
The built-in `branch` indicator does not handle git worktrees quite
correctly.
It shows the wrong branch when used in `git commit`.
2022-04-27 14:02:17 +02:00
Bruno BELANYI
bab317e2f4
home: vim: null-ls: prefer 'pflake8' if available
2022-03-11 14:30:27 +01:00
Bruno BELANYI
20e0a96e65
home: vim: telescope: add 'which-key' mapping
...
This opens a little preview window with different mappings for
telescope.
2022-03-11 14:11:07 +01:00
Bruno BELANYI
fda1b235bc
home: vim: telescope: disable scrolling up
2022-03-11 14:03:18 +01:00
Bruno BELANYI
7060891b2d
home: vim: set 'termguicolors'
...
For once, I like the look *with* 24-bit colors better on this current
color-scheme.
2022-03-11 14:02:01 +01: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
4c5c9deaae
home: vim: move 'on_attach' to 'ambroisie.lsp'
2022-03-08 20:20:22 +01:00
Bruno BELANYI
fc35502141
home: vim: lspconfig: use actual 'lspconfig' name
2022-03-08 20:18:02 +01:00
Bruno BELANYI
32890d6cf2
home: vim: completion: do not use tab to select
...
I would rather have my actual preferred mappings, <C-n> and <C-p>, for
that.
2022-03-08 10:41:35 +01:00
Bruno BELANYI
3673ec604a
home: vim: lualine: remove 'fzf' integration
...
I do not use 'fzf' anymore.
2022-03-08 10:41:35 +01:00
Bruno BELANYI
1f8882b415
home: vim: configure 'luasnip'
2022-03-08 10:41:35 +01:00
Bruno BELANYI
a923c2c30e
home: vim: add 'friendly-snippets'
2022-03-08 10:41:35 +01:00
Bruno BELANYI
37552d6508
home: vim: completion: remove up/down mappings
...
I do not use arrow keys, why bother with them.
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
fa8961c9d9
home: vim: comparison: stronger priority hint
2022-03-08 10:41:35 +01:00
Bruno BELANYI
01f2dfd028
home: vim: completion: configure snippets
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
975f8687fc
home: vim: completion: add mapping to scroll docs
2022-03-08 10:41:35 +01:00