Commit graph

68 commits

Author SHA1 Message Date
Sanchayan Maity 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
Sanchayan Maity 1dbb82fc49 nvim: Update LSP status configuration variables 2021-01-27 09:13:47 +05:30
Sanchayan Maity 47ab28723f nvim: modules: statusline: Use srcery variant for white foreground 2021-01-22 16:10:43 +05:30
Sanchayan Maity 874a2801d4 nvim: lua: plugins: Add nvim-bqf to improve quickfix 2021-01-21 10:48:59 +05:30
Sanchayan Maity 54b66455cd nvim: lua: modules: gitsigns: Enable hunk text objects 2021-01-17 11:50:34 +05:30
Sanchayan Maity 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
Sanchayan Maity 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
Sanchayan Maity 4efbec8683 nvim: treesitter: Enable some more languages 2021-01-14 20:05:41 +05:30
Sanchayan Maity 30011d5c9d nvim: Add SyntaxAttr plugin to help show highlight group under cursor 2021-01-13 16:04:27 +05:30
Sanchayan Maity 41f1e85929 nvim: Enable treesitter refactor and text objects 2021-01-12 16:34:52 +05:30
Sanchayan Maity d0e3d43830 nvim: modules: statusline: Show file name for inactive buffer 2021-01-11 12:11:51 +05:30
Sanchayan Maity 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
Sanchayan Maity 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
Sanchayan Maity 5058b6b6b0 nvim: lua: plugins: Drop scrollbar 2021-01-05 14:39:59 +05:30
Sanchayan Maity 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
Sanchayan Maity f73f40f5af nvim: Drop searchlight and switch to hlslens 2020-12-23 16:38:55 +05:30
Sanchayan Maity 42f707adb4 nvim: Drop syntax highlighting plugins we do not need 2020-12-23 16:38:55 +05:30
Sanchayan Maity 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
Sanchayan Maity 766a429ce7 nvim: yolokai: Sync with nvim-highlite upstream 2020-12-19 09:53:09 +05:30
Sanchayan Maity 8b8b7ec139 nvim: modules: floaterm: Add key mapping to open lazygit directly 2020-12-18 13:55:42 +05:30
Sanchayan Maity 97d10b6a1b nvim: modules: gitsigns: Sync settings with upstream 2020-12-16 11:26:23 +05:30
Sanchayan Maity 62553ba8c7 nvim: plugins/lua: Add lspfuzzy 2020-12-14 17:16:28 +05:30
Sanchayan Maity 8e07da50c9 nvim: Add pandoc support 2020-12-14 12:41:35 +05:30
Sanchayan Maity 2e6e01eb2a nvim: lua: plugins: Drop edita
We added edita to be able to do interactive rebase inside neovim
terminal which Gina does not support by default.

See issue
https://github.com/lambdalisue/gina.vim/issues/276

Mostly haven't been using this, just relying on spawning a separate pane
in tmux or kitty window to do the rebase. So drop this.
2020-12-11 11:40:51 +05:30
Sanchayan Maity eb8346e80f nvim: lua: lsp: Add support for incremental sync
Support for incremental sync landed in neovim with this MR.
https://github.com/neovim/neovim/pull/13371
2020-12-09 10:14:18 +05:30
Sanchayan Maity ab59251f2e nvim: lua: lsp: Fix call to show line diagnostics 2020-12-08 18:35:20 +05:30
Sanchayan Maity 1e55c5d336 Revert "nvim: Switch to using toggleterm instead of floaterm"
This reverts commit 7ef8054d41.
2020-12-08 16:42:42 +05:30
Sanchayan Maity fef45b50e9 Drop init.vim
With the below PR merged
https://github.com/neovim/neovim/pull/12235

init.lua is now first class and we have no need for init.vim anymore.
2020-12-07 13:05:08 +05:30
Sanchayan Maity 7ef8054d41 nvim: Switch to using toggleterm instead of floaterm 2020-11-25 10:29:36 +05:30
Sanchayan Maity b861963f9a nvim: Add tmux completion source for completion-nvim 2020-11-21 12:08:25 +05:30
Sanchayan Maity 9a2f273a7d nvim: Sync with nvim-highlite upstream 2020-11-21 12:08:25 +05:30
Sanchayan Maity 1a88bddf19 nvim: lua: plugins: No need to specify branch anymore
With this commit upstream
a68b21be60

packer can handle finding default branches by itself and does not error
out like earlier for anything named other than master.
2020-11-21 11:13:02 +05:30
Sanchayan Maity 50a5d55fe4 nvim: Update for nvim LSP diagnostics
The diagnostic-nvim plugin got merged upstream and as a result the
plugin is not required anymore. LSP diagnostic highlight group names
were also updated.

See the below issues for notes on migration.
https://github.com/neovim/neovim/pull/12655
https://github.com/nvim-lua/diagnostic-nvim/issues/73
2020-11-21 11:05:07 +05:30
Sanchayan Maity 77514eaea0 nvim: Fix loading of git messenger
Relying on lazy loading on command invocation feature seems to not make the
default key bindings of the plugin take effect. Remove it.
2020-11-17 18:36:45 +05:30
Sanchayan Maity 7bb5343314 nvim: lua: modules: gitsigns: Add preview hunk feature now available upstream 2020-11-17 18:19:34 +05:30
Sanchayan Maity 974c399bea nvim: nvim lsp lua module name has changed upstream 2020-11-15 22:39:01 +05:30
Sanchayan Maity be594ae121 nvim: Use nvim_command for disabling back ups and swap
Using the vim.o API seems to have no effect for these three options. Set
them via the 'nvim_command' API.
2020-11-11 19:43:18 +05:30
Sanchayan Maity ee6af66c8a nvim: Do not rely on plugins.vim to load plugins
We do not really need to rely on a plugins file in 'plugin' to load the
packages using 'execute luafile'. Just do a 'require plugins' in init.lua.
2020-11-10 21:06:15 +05:30
Sanchayan Maity 07739669c5 nvim: modules: gitsigns: Update key map as per upstream changes 2020-11-10 15:47:09 +05:30
Sanchayan Maity 7bc8295486 nvim: Clean up commands for searching word under cursor 2020-11-05 18:58:37 +05:30
Sanchayan Maity 801f9725b4 nvim: Add easy-align 2020-11-05 11:39:57 +05:30
Sanchayan Maity 7887a04d62 Revert "nvim: lua: plugins: Remove post install hook for fzf"
This reverts commit aba40d88df and also
fixes the post install hook command.

Original issue:
https://github.com/wbthomason/packer.nvim/issues/83

Fixed by:
6f9efb232a
2020-11-05 11:39:28 +05:30
Sanchayan Maity aba40d88df nvim: lua: plugins: Remove post install hook for fzf
The post install hook does not work in packer currently and has no
effect. Remove it.
2020-11-03 12:25:13 +05:30
Sanchayan Maity 2c5c6b7c1a nvim: Drop tabular 2020-10-30 16:37:06 +05:30
Sanchayan Maity 3691d67298 nvim: Use galaxyline for statusline 2020-10-30 14:28:14 +05:30
Sanchayan Maity cbd37c1856 nvim: Move to packer 2020-10-29 21:06:46 +05:30
Sanchayan Maity 21167993bf nvim: Use gitsigns
Currently there is an observable bug where this doesn't play well with
gina buffers. Perhaps it should be disabled for any gina buffers or
something similar.
2020-10-28 11:11:46 +05:30
Sanchayan Maity d0687b7f1a nvim: Drop vim-signify
The undo hunk feature is complete garbage at the moment. Also it seems
whenever we have changes and thus signs in gutter, sometimes there is
an observable sluggishness.
2020-10-27 21:28:46 +05:30
Sanchayan Maity 47fcbd2233 nvim: Some consistency cleanup 2020-10-26 11:01:54 +05:30
Sanchayan Maity efc8bf88b5 nvim: Except for gina migrate everything in after/plugin to lua 2020-10-24 11:06:27 +05:30