42c06b8f2f
nvim: after/plugin/nvim-lint: Drop mypy for Python linting
2022-11-25 16:54:15 +05:30
b0e55a6e60
nvim: after/plugin/word-column: Fix conflicting mapping with target
...
Since we now have more mapping available after dropping treesitter
text objects, we can fix this.
Fixes the below warning from targets check health.
targets: health#targets#check
========================================================================
- WARNING: Conflicting mapping found:
aq → <Plug>(textobj-wordcolumn-word-a)
q → {'quote': [{'d': ''''}, {'d': '"'}, {'d': '`'}]}
- WARNING: Conflicting mapping found:
iq → <Plug>(textobj-wordcolumn-word-i)
q → {'quote': [{'d': ''''}, {'d': '"'}, {'d': '`'}]}
2022-11-24 14:21:49 +05:30
397cac1050
nvim: plugins/treesitter: Use treehopper instead of textobjects
...
The whole bunch of treesitter text objects were difficult to remember
and we ended up rarely ever using any of the defined mappings.
treehopper simplifies things with a single mapping and hints.
2022-11-24 14:21:41 +05:30
ef4c3b7d30
nvim: Use more prominent white highlight for Comment
...
We seem to be making a lot of mistakes when it comes to handling
docs/comments in merge requests. Use a more prominent white colour
for the comment highlight group.
2022-11-23 12:42:06 +05:30
b294f196de
nvim: after/plugin/nvim-lint: Use leader instead of local leader
2022-11-15 17:32:07 +05:30
3c3a2c5130
nvim: init: Enable closeoff and linematch options for diffopt
...
linematch option got merged a few hours ago with this commit.
https://github.com/neovim/neovim/pull/14537
While at it, set closeoff as well.
2022-11-07 14:33:29 +05:30
c37bd7d451
nvim: init: Drop tmux configuration for copying to system clipboard
...
This is not required any more with this upstream MR merged.
https://github.com/neovim/neovim/pull/20936
2022-11-06 10:40:28 +05:30
8d9d230c18
nvim: after/plugin/fugitive: Update gd/D mappings to use difftool
2022-11-04 17:46:44 +05:30
ba319f2bde
nvim: after/plugin/gitsigns: Use on_attach callback to setup mappings
...
keymaps is deprecated.
2022-11-04 09:54:55 +05:30
36e7845aa4
nvim: after/ftplugin: Disable spell check for certain file types
...
Now that we enable spell check globally disable it for certain file
and buffer types like dirvish etc.
2022-11-01 18:39:11 +05:30
0c84a1d719
nvim: colors/yolokai: Remove obsolete TS highlight groups
...
See
https://github.com/nvim-treesitter/nvim-treesitter/issues/3572
https://github.com/nvim-treesitter/nvim-treesitter/pull/3656
2022-10-26 10:03:54 +05:30
6d7a9fe9b3
nvim: lsp: Use vim.notify to report error
2022-10-02 17:04:25 +05:30
1ae279fd57
nvim: init: Enable spellsitter
...
Enable spell check globally and remove file type specific settings.
Use the new treesitter powered spellsitter.
2022-10-01 09:45:24 +05:30
c626c1dac2
nvim: init: Enable British English spell language
2022-09-28 17:26:22 +05:30
43e4927c88
nvim: ftplugin: markdown: Enable spell check
2022-09-28 17:24:21 +05:30
f4ee744e85
nvim: plugins: Use vale.nvim for vale support
2022-09-28 17:14:44 +05:30
3ea83c67ba
nvim: after/plugin/nvim-lint: Drop languagetool & vale
...
Both seem to give errors at the moment. While at it, drop the unused
flake8 args setting.
2022-09-28 17:13:37 +05:30
7c8841431a
nvim: init/treesitter: Enable bundled parsers
...
Now that neovim bundles parsers and highlight queries for Lua, Vimscript
and C by default, enable the bundled ones.
We can drop the entries from languages enabled via nvim-treesitter.
See
https://github.com/neovim/neovim/issues/14090#issuecomment-1237820552
2022-09-18 12:57:19 +05:30
05c27960f7
nvim: lsp: Disable logging
...
Disable logging completely. The set_log_level call needs to be at the
top level else some log message related to startup still gets logged
if the call is done in on_attach.
2022-09-18 12:34:41 +05:30
4b18ecad6d
nvim: Use ex commands as methods instead of string on vim.cmd
2022-09-17 10:56:51 +05:30
f04308f569
nvim: plugins: Make packer not fetch/pull tags
...
Upstream repos overwrite tags like release and then PackerSync complains
about failing to update since existing tags would be clobbered after an
update.
2022-09-16 20:39:17 +05:30
b398542a94
nvim: lsp: Minor clean up of autocmd callbacks
2022-09-13 18:16:08 +05:30
108403ca3d
nvim: lsp: Drop custom range formatting function
...
With commit 11167ab, vim.lsp.buf.format now has a range argument
which defaults to current selection in visual mode.
2022-09-13 18:16:08 +05:30
6b9de43829
nvim: statusline: Add space after git ahead behind symbol
2022-09-05 19:04:30 +05:30
7bae888f7d
nvim: plugins: Drop suda
...
sudoedit is appropriate for our needs.
2022-09-01 09:31:52 +05:30
9a26ef9c10
nvim: Drop nvim-lspconfig
...
Use the new vim.lsp.start API and LspAttach/Detach auto commands.
Drop nvim-lspconfig in the process.
LSP server specific configuration has been taken from nvim-lspconfig.
2022-08-31 12:21:28 +05:30
a18a0415b7
nvim: statusline: Do not set winbar for floating windows
2022-08-31 12:21:28 +05:30
8e8f6110e5
nvim: lsp: Fix argument ordering to on_attach for inlay hint
2022-08-29 17:35:47 +05:30
490fe4e853
nvim: plugins: Drop rust-tools & use lsp-inlayhints
...
We do not use any of the other features provided by rust-tools and
only ever needed the inlay hints. Now that there is a plugin for
that which also allows us to use inlay hints for other languages
use that.
There are two options
https://github.com/lvimuser/lsp-inlayhints.nvim
https://github.com/simrat39/inlay-hints.nvim
The second one is from the rust-tools author himself but we could
not get that to work.
2022-08-19 16:59:19 +05:30
74183bb5ec
nvim: init: Drop unnecessary require
2022-08-19 16:59:19 +05:30
1cf5377ae5
nvim: lsp: Remove obsolete flag for clangd
2022-08-06 11:41:09 +05:30
01dfb0429c
nvim: lsp: range_code_action is deprecated
...
See PR
https://github.com/neovim/neovim/pull/19551
2022-08-03 14:24:58 +05:30
19e651780e
keymappings: Fix command line mode mappings
...
See https://github.com/neovim/neovim/issues/14090#issuecomment-1202280881 .
2022-08-03 13:12:41 +05:30
4e60a3f53e
nvim: plugins: Drop vimtex
...
For any future LaTeX writing needs we only intend to use
markdown/pandoc.
2022-07-27 12:21:48 +05:30
d4edc15bd2
nvim: keymappings: Disable macro recording
2022-07-11 19:28:00 +05:30
35f9bead79
nvim: init: filetype.lua is now default
...
See
https://github.com/neovim/neovim/issues/14090#issuecomment-1177933661
2022-07-08 09:18:19 +05:30
f315c0060b
nvim: statusline: Allow more width for git branch
2022-06-25 17:05:49 +05:30
d057fa0385
nvim: fugitive: Execute commands while keeping current alt file
...
Keep current alternate file where possible for git commands executed
via fugitive.
2022-06-19 15:48:57 +05:30
add2ceb869
nvim: statusline: Enable winbar
...
Use it to show full path for file. This frees up space in status line
when git branch names are long.
2022-06-08 09:51:47 +05:30
6be67782e6
nvim: treesitter: Add golang
2022-06-05 15:03:49 +05:30
664db0f770
nvim: after/plugin/nvim-lint: Remove flake8 as a linter for Python
2022-05-19 11:11:56 +05:30
d4f81fe865
nvim: plugin/visual-star-search: Set mark when doing backward search
...
While at it, drop calling set hlsearch for * and g* as hlsearch is
enabled by default and does not seem to be required.
2022-05-18 09:09:23 +05:30
f4b928bd3e
nvim: after/plugin/ftplugin: Update setting of buffer local mappings
2022-05-14 13:45:21 +05:30
edb11e5e1d
nvim: plugin/visual-star-search: Use custom visual star search
...
neovim enabled search selection by * and # in visual mode but seems
that is not good enough.
https://github.com/neovim/neovim/pull/18538#pullrequestreview-971039192
Add and use Justin Keyes version referenced above.
2022-05-14 09:10:13 +05:30
21944d6bca
nvim: plugins: Update the marks repo location
2022-05-14 08:36:56 +05:30
285d1fb9a9
nvim: plugins: Drop vim-visual-star-search
...
Commit 233c41c in neovim upstream enabled search selection by * and #
in visual mode by default. We do not need this plugin anymore.
2022-05-13 09:11:02 +05:30
918df63073
nvim: Fix group argument to nvim_create_autocmd
2022-05-06 12:04:35 +05:30
463e9f5811
nvim: plugins: Drop dhall
...
We do not use this and haven't had anything to do with dhall in about
one and half year.
2022-05-06 11:36:17 +05:30
363ba685aa
nvim: lsp/ftplugin/rust: Remove crate graph
2022-05-06 11:25:09 +05:30
ef00957fae
nvim: lsp: Refactor configuration setting for clients
2022-05-05 21:00:25 +05:30