Commit graph

664 commits

Author SHA1 Message Date
053ddbf55e nvim: lua: plugins: Drop vim-tmux-focus-events
This plugin is now obsolete and no longer needed as both neovim and vim
(since version 8.2.2345) have native support for this functionality.
2021-04-28 10:58:39 +05:30
10237ec093 nvim: lua: plugins: Drop nvim-bqf and add back QFEnter
With nvim-bqf when opening the quickfix list, it jumps around the opened
buffers. For example, when calling LSP reference on a variable in buffer
one, it jumps to buffer three after the quickfix list opens. This is
annoying, so dump it. The preview feature has not been that helpful
anyways.
2021-04-28 10:58:12 +05:30
5005a2b558 nvim: Update packer 2021-04-28 10:58:12 +05:30
b9e5fb64bf nvim: fugitive: Refactor and add some more git helpers 2021-04-27 09:29:41 +05:30
baa70ee678 nvim: keymappings: Add a useful mapping for closing tabs 2021-04-22 10:55:37 +05:30
82bc7524b1 nvim: Update packer 2021-04-20 11:32:14 +05:30
c8b64ae94f Revert "nvim: keymappings: Do not use 'jk' for Esc anymore"
This reverts commit 915a5427e3.
2021-04-19 12:20:00 +05:30
765eec81b6 nvim: after: fugitive: Update key mappings 2021-04-19 12:20:00 +05:30
66213e0d06 nvim: modules: floaterm: Drop binding for lazygit
Fugitive actually has everything one needs on a daily basis.
2021-04-19 12:20:00 +05:30
7363f20681 nvim: Update packer 2021-04-19 11:18:40 +05:30
915a5427e3 nvim: keymappings: Do not use 'jk' for Esc anymore
With 60% keyboard, Esc is easier to hit and in sway, may be we should
map Caps to Esc.
2021-04-07 20:31:37 +05:30
cdd87b94d8 nvim: Update packer 2021-04-07 20:31:30 +05:30
39aaa2fd5c nvim: Update conjure to the new release 2021-04-02 20:05:53 +05:30
5b8fc42e29 nvim: Update packer 2021-03-30 11:25:37 +05:30
d197d0b1b7 nvim: Update packer 2021-03-25 11:10:12 +05:30
90d6c8681d nvim: Update packer 2021-03-23 10:46:45 +05:30
ff7e6f524c nvim: git/fugitive: Add helper for git branch and checkout 2021-03-19 12:15:52 +05:30
3b2e3adee1 nvim: plugins: Enable support for guile 2021-03-10 21:36:55 +05:30
8943ecf656 nvim: plugins: Update conjure and aniseed 2021-03-10 21:36:55 +05:30
05a87e36a8 nvim: plugins: Switch from parinfer to vim-sexp 2021-03-10 21:36:55 +05:30
e8ef3a4ded nvim: lsp: Enable typescript language server
Need it for some work stuff :(.
2021-03-10 21:36:55 +05:30
b6aae8d570 nvim: Update packer 2021-03-09 10:54:21 +05:30
d601e558da nvim: Update packer 2021-03-06 12:25:50 +05:30
3707429737 nvim: lsp: Update LSP key bindings 2021-02-25 17:53:45 +05:30
7360f65e2f nvim: lsp: Enable python language server 2021-02-25 17:35:50 +05:30
eff13b5225 nvim: yolokai: Sync with upstream nvim-highlite 2021-02-25 13:27:28 +05:30
abd22a73db nvim: treesitter: Enable some more languages with treesitter 2021-02-25 12:32:05 +05:30
060fc1d41c nvim: init: Make cursor line always be in the middle of the window 2021-02-22 14:44:10 +05:30
c9526d8997 nvim: Drop vim-smoothie 2021-02-22 14:23:01 +05:30
d3cbc0307a nvim: Update packer 2021-02-19 11:06:20 +05:30
ae391080a1 nvim: Sync nvim-compe settings with upstream 2021-02-18 19:07:13 +05:30
47e40e765d nvim: Add support for inserting visual block to anywhere 2021-02-16 20:38:03 +05:30
fa940ca9e6 nvim: Update packer 2021-02-16 19:47:09 +05:30
d9cd7d6d1f nvim: Update packer 2021-02-12 00:49:47 +05:30
ad0db79b4f nvim: Update packer 2021-02-10 11:26:22 +05:30
c5cd375c25 nvim: modules: completion: Move key bindings in lua module
nvim-compe recently included instructions on using backspace and tab
correctly. Include the same configuration.
2021-02-08 11:42:01 +05:30
9c889caa9a nvim: plugin: compe: Use TAB and S-TAB to cycle through popup menu
We mistakenly dropped this while switching to compe from
completion-nvim.
2021-02-05 13:58:42 +05:30
51b848d1f6 nvim: lua: completion: Enable treesitter completion with nvim-compe
compe recently added completion support with treesitter. Enable it.
2021-02-05 13:58:11 +05:30
0981238a3c nvim: ftplugin: haskell: Clean up hoogle settings
Should have been cleaned up as part of 14ebb51f9f.
2021-02-04 23:29:30 +05:30
75f5b0d63e nvim: lua: plugins: Drop QFEnter
Now that we use nvim-bqf it already provides opening a quickfix entry in
either of tab, split or vsplit. So drop QFEnter.
2021-02-03 16:23:31 +05:30
cddc40f842 nvim: Update packer 2021-02-03 14:42:36 +05:30
a18a122b97 nvim: lua: lsp: Drop lspfuzzy
Now that we are using nvim-bqf, we have a nicer interface to quickfix
list and nvim-bqf also integrates fzf mode. So drop lspfuzzy.
2021-02-02 20:28:51 +05:30
cb6eef2314 nvim: lua: lsp: Drop lsp-status
We use galaxyline for the status line and it already provides
LSP diagnostics info. So drop lsp-status. While the progress
message during the loading in status line is nice, may be will
incorporate it later by picking only the required pieces.

While at it, expose all diagnostics via statusline using galaxyline
components.
2021-02-02 20:13:07 +05:30
9918959aa2 nvim: Switch to nvim-compe 2021-02-02 18:09:35 +05:30
6ef47458e2 nvim: lsp: Move the completion item symbols from completion-nvim to LSP 2021-02-02 17:33:21 +05:30
5c2d83a833 nvim: Update packer 2021-02-02 17:33:21 +05:30
91be84b9d7 nvim: Switch back to fugitive again :)
With most of our operations now being done through fzf + git command
line or lazygit, we primarily only require the log & blame facilities.
The blame interface in Gina is confusing.

This time however, we include some nice helper functions of our own.
2021-02-01 18:17:13 +05:30
a23caf6d12 nvim: Introduce LISP support 2021-02-01 10:35:29 +05:30
000bd17c4c nvim: Update packer 2021-02-01 10:35:29 +05:30
a0739c3ef9 nvim: Switch back to vim-signify
vim-signify recently fixed the below issue which was a problem earlier.
https://github.com/mhinz/vim-signify/issues/345

Considering that gitsigns exhibits a problem where the complete sign
column is marked while in the middle of a rebase, switch back to using
signify.
2021-01-30 15:03:57 +05:30
7ebc88268b nvim: colors: yolokai: Update pandoc and yaml syntax highlighting
This improves the highlighting for files written in pandoc markdown.
It seems having the rainbow parentheses plugin active, results in
overwriting the syntax highlighting for URLs.
2021-01-29 11:36:46 +05:30
5b69c13505 nvim: Update packer 2021-01-28 23:36:29 +05:30
48dff4004d nvim: lua: plugins: Do not use file type loading for Haskell plugins
The syntax plugin does not seem to take an effect, when the file type
loading feature from packer is used. So, remove it.
2021-01-27 09:13:47 +05:30
1dbb82fc49 nvim: Update LSP status configuration variables 2021-01-27 09:13:47 +05:30
366688d1c3 nvim: Update packer 2021-01-27 09:13:47 +05:30
47ab28723f nvim: modules: statusline: Use srcery variant for white foreground 2021-01-22 16:10:43 +05:30
355b060aea nvim: colors: yolokai: Use srcery variant for white 2021-01-22 16:07:49 +05:30
874a2801d4 nvim: lua: plugins: Add nvim-bqf to improve quickfix 2021-01-21 10:48:59 +05:30
54b66455cd nvim: lua: modules: gitsigns: Enable hunk text objects 2021-01-17 11:50:34 +05:30
d9f8c8ce56 nvim: Update packer 2021-01-17 11:46:10 +05:30
dc4ecdb8b3 nvim: Update packer 2021-01-16 12:28:44 +05:30
14ebb51f9f nvim: plugins: Drop vim-hoogle
With LSP enabled for Haskell, we do not really need this.
2021-01-16 12:28:44 +05:30
795fe5208b Revert "nvim: Enable treesitter refactor and text objects"
This reverts commit 41f1e85929.

Enabling these two, seems to somehow result in highlighting not working
anymore. So disable them.
2021-01-14 20:05:41 +05:30
4efbec8683 nvim: treesitter: Enable some more languages 2021-01-14 20:05:41 +05:30
e62cb8f3ab nvim: Update packer 2021-01-14 10:57:02 +05:30
1307d996ac nvim: colors: yolokai: Change the delimiter color to red 2021-01-13 16:32:34 +05:30
6b6bd3c3fa nvim: colors: yolokai: Add syntax highlighting for pandoc
We might have to add more highlight groups later.
2021-01-13 16:18:07 +05:30
054b3188ce nvim: ftplugin: markdown: Update pandoc settings
Use citeproc as backend for bibliographic completion. The embedded
language setting is required to highlight the language blocks.
2021-01-13 16:16:49 +05:30
30011d5c9d nvim: Add SyntaxAttr plugin to help show highlight group under cursor 2021-01-13 16:04:27 +05:30
41f1e85929 nvim: Enable treesitter refactor and text objects 2021-01-12 16:34:52 +05:30
3e72b0f5ad nvim: Update packer 2021-01-12 16:13:08 +05:30
d0e3d43830 nvim: modules: statusline: Show file name for inactive buffer 2021-01-11 12:11:51 +05:30
757b29b026 nvim: Allow doing commits from within floating terminal
With this we can invoke git commit and not have a nested neovim
instance. This also makes 'C' option in lazygit to work properly
when lazygit is being used from the floating terminal with floaterm.
2021-01-09 17:21:17 +05:30
39405e8cab nvim: ftplugin: Add & fix mapping for jumping between changes 2021-01-09 17:01:37 +05:30
76a868c8e6 nvim: Update packer 2021-01-09 16:52:32 +05:30
fa18abaf65 nvim: Clean up init 2021-01-09 11:48:30 +05:30
94865fce59 nvim: Add customised LSP labels
Taken from
https://github.com/lukas-reineke/dotfiles/blob/master/vim/lua/lsp.lua
2021-01-08 20:44:39 +05:30
ebea44a8d4 nvim: Update packer 2021-01-06 10:35:27 +05:30
5058b6b6b0 nvim: lua: plugins: Drop scrollbar 2021-01-05 14:39:59 +05:30
494f0706bb nvim: yolokai: Update syntax highlighting
We want information messages to have orange color and warning messages
to have pink color.

Also fix the syntax highlighting for LspDiagnostics. While migrating
away from diagnostic-nvim, we did not specify the syntax highlight for
virtual text correctly, which resulted in them having just plain white
text on black background.
2021-01-04 17:03:42 +05:30
6929c30e2d nvim: yolokai: Update syntax highlighting
- TSStructure was deprecated
- TSVariable/TSVariableBuiltin/TSNamespace/TSComment seem to be newly
  introduced
- Use a different color for functions and identifiers
- Reorder alphabetically. Easier to compare against upstream doc
2021-01-04 16:03:01 +05:30
6336685b5e nvim: Update packer 2021-01-03 18:16:10 +05:30
fcbdfc31ab nvim: Fix LSP configuration
Not sure what changed in recent releases for either nvim, packer or
lspconfig plugins, but, our custom LSP configuration file seems to
not be loaded or have any effect when specified via packer's config
directive. So load it manually in init.
2021-01-01 11:56:33 +05:30
bf6f8004b9 nvim: Update packer 2020-12-28 10:39:15 +05:30
28b9b906ed nvim: Update packer 2020-12-24 21:06:02 +05:30
3f6d104eb0 nvim: markdown: Set formatting mode to hard wrap with smart auto formatting 2020-12-23 20:02:51 +05:30
f73f40f5af nvim: Drop searchlight and switch to hlslens 2020-12-23 16:38:55 +05:30
42f707adb4 nvim: Drop syntax highlighting plugins we do not need 2020-12-23 16:38:55 +05:30
dec2764e43 Revert "nvim: init: Enable virtualedit"
This reverts commit 98c0c283ee.
2020-12-23 16:38:55 +05:30
102f5c1013 nvim: Update packer 2020-12-21 10:33:18 +05:30
dfe44fb14c git/nvim: Switch to using diffconflicts for resolving merge conflicts
While we dropped diffconflicts earlier and switch to vanilla vimdiff,
two way merges are definitely better than three way merges. 3 way merge
as in gina or vimdiff is extremely confusing except for may be the
simplest of merge conflicts.

conflict-marker and diffconflicts should let us handle all cases.
2020-12-19 16:29:06 +05:30
766a429ce7 nvim: yolokai: Sync with nvim-highlite upstream 2020-12-19 09:53:09 +05:30
cf88659f30 nvim: colors: yolokai: Add highlighting for conflict-markers 2020-12-18 13:56:14 +05:30
8b8b7ec139 nvim: modules: floaterm: Add key mapping to open lazygit directly 2020-12-18 13:55:42 +05:30
97d10b6a1b nvim: modules: gitsigns: Sync settings with upstream 2020-12-16 11:26:23 +05:30
24b4c561ed nvim: Update packer 2020-12-15 10:10:26 +05:30
62553ba8c7 nvim: plugins/lua: Add lspfuzzy 2020-12-14 17:16:28 +05:30
8e07da50c9 nvim: Add pandoc support 2020-12-14 12:41:35 +05:30
77c1d52544 nvim: Update packer 2020-12-14 12:36:26 +05:30
451963c108 nvim: init: Enable python3 provider
We want to add pandoc support with vim-pandoc next and it makes use of
the python API. So enable this.
2020-12-12 17:20:10 +05:30