Commit graph

1895 commits

Author SHA1 Message Date
12a925d203
nvim: colors/yolokai: Add highlight for LSP inlay hints 2023-06-22 11:38:39 +05:30
8f05d13b11
nvim: plugins: Drop inlayhints
Drop lsp-inlayhints now that upstream merged support for inlay hints.

https://github.com/neovim/neovim/pull/23984
https://github.com/neovim/neovim/pull/24071
2023-06-20 16:58:13 +05:30
d3775127f8
nvim: treesitter: Register haskell parser in ftplugin
4468c8b made PureScript use Haskell for treesitter queries. However,
setting them up globally sometimes seems to result in Haskell files
getting identified as PureScript and triggering a PureScript LSP
server attach. At least that's what the behaviour seems like.

To prevent this, register the usage of Haskell treesitter queries
in ftplugin viz. when PureScript file type is detected.
2023-06-20 16:58:13 +05:30
6f78a23ab3
nvim: after/ftplugin/haskell: Update tags on file save 2023-06-20 16:58:12 +05:30
99531be4ad
Revert "nvim: keymappings: Drop all key mappings for tags"
This reverts commit 3657612dbb.

We want to use fast-tags with Haskell.
2023-06-20 16:58:12 +05:30
691e92d436
fish: functions: Add an alias for fast-tags 2023-06-20 16:58:12 +05:30
c17b908d32
newsboat: Update config 2023-06-20 09:30:26 +05:30
4255695699
chrome: Drop incognito as default
Chromium is going ape shit refusing to connect to the net at all.
Using Chrome as the default henceforth.
2023-06-20 09:30:26 +05:30
3421c83582
git: Add an alias for getting branches recently updated 2023-06-19 13:09:15 +05:30
89dd0df8a1
nvim: plugins: Drop vim-husk
There has not been any update to the plugin in 8 years. Just drop
it from the plugin list and incorporate it directly in our config.
2023-06-19 13:09:15 +05:30
551ca63dfa
nvim: Update paq 2023-06-19 11:38:43 +05:30
c398856dd4
nvim: compiler: Drop custom compiler files
Now that we use LSP everywhere these are not required any more.
2023-06-16 12:59:37 +05:30
e9f10fa776
nvim: after/ftplugin: haskell: Set makeprg 2023-06-16 12:59:37 +05:30
da58490e5a
fish: conf.d/cabal-abbr: Fix duplicate abbreviation with cpl 2023-06-14 20:17:35 +05:30
7000ebffb7
fish: conf.d/cabal-abbr: Add abbreviations for cabal-plan 2023-06-10 19:18:36 +05:30
0986b41c72
fish: conf.d: Add abbreviations useful for Rust 2023-06-10 19:18:28 +05:30
0fdc4b18c7
fish: functions: Drop aliases for cargo
We will introduce abbreviations in the next commit.
2023-06-10 13:30:08 +05:30
5a1883fb2d
nvim: after/ftplugin/cabal: Set comment string 2023-06-10 13:30:04 +05:30
a01903d5b4
fish: conf.d/cabal-abbr: Add abbreviations for cabal-clean 2023-06-07 18:01:46 +05:30
b6243f2a9a
Revert "nvim: plugin: Add a simple whitespace plugin"
This reverts commit 891fae907b.

Now that we have mini.trailspace enabled by default, drop this
whitespace plugin.
2023-06-07 14:14:56 +05:30
4468c8b0c1
nvim: treesitter: Make PureScript use Haskell parser and queries
Turns out that the Haskell treesitter implementation can be used
for PureScript as well.

This is exactly what Helix does.
https://github.com/helix-editor/helix/pull/4242/files
2023-06-07 13:47:44 +05:30
d5a70895a5
nvim: plugins: Drop purescript-vim for PureScript syntax highlighting
This reverts 587d76d.
2023-06-07 13:46:40 +05:30
cf85dfa8ee
nvim: ftdetect/purescript: Detect purs files as purescript 2023-06-07 13:44:23 +05:30
b2e42c2cd6
git: Add an alias for git-jump 2023-06-07 13:14:58 +05:30
f1f9058f06
nvim: plugins: nvim-pqf moved to GitHub 2023-06-07 12:43:32 +05:30
e758ef0a08
nvim: after/ftplugin: Disable mini trailspace
Now we enable trailspace module from mini, disable it for file types
where we do not want trailing space to be highlighted.
2023-06-07 12:43:15 +05:30
3fd01ac9e6
nvim: colors/yolokai: Add highlights for mini.nvim 2023-06-07 12:43:15 +05:30
29c657b395
nvim: Use modules from mini.nvim
We drop Comment, hop & vim-surround in favour of modules from mini.
This change is triggered by the fact that hop's author has decided
to not maintain it any more. There is also pounce but mini seems
simple and we can also use other modules it provides.
2023-06-07 12:42:40 +05:30
10d42d0d42
fish: conf.d/cabal-abbr: Add abbreviations for cabal-edit & cabal-hoogle 2023-06-03 17:59:45 +05:30
c9368e8100
arch-packages: Update package list
We do not really want to keep google-chrome but it is needed for
testing with Selenium.
2023-06-02 13:51:22 +05:30
6cb83ef74d
nvim: treesitter: Disable additional vim regex highlighting
With this set to true, neovim will run `:h syntax` and tree-sitter
at the same time. Using this option may slow down one's editor and
one may see some duplicate highlights. Disable it.
2023-06-02 13:44:11 +05:30
909cbef796
nvim: colors/yolokai: Add highlights for diff treesitter
Found the solution from this issue
https://github.com/the-mikedavis/tree-sitter-diff/issues/5
2023-06-02 13:44:11 +05:30
49f88776ea
nvim: treesitter: Enable diff 2023-06-02 13:10:28 +05:30
a9fc35d297
fish: conf.d/cabal-abbr: Fix cabal install abbreviation 2023-05-31 10:29:39 +05:30
8d2b94856c
nvim: after/ftplugin/scheme: Drop use of racket lang server for scheme 2023-05-31 10:29:38 +05:30
5674bbdc06
nvim: lsp: Add support for reloading Cargo workspace
While at it, refactor the custom setup and clean up for clients in
a single function.
2023-05-25 13:41:58 +05:30
269382b363
nvim: lsp-utils: Set capabilities
We missed setting this and it gives an error like below when using
HLS and rust-analyzer.

```bash
LSP[rust-analyzer]: Error SERVER_REQUEST_HANDLER_ERROR: "/usr/local/share/nvim/runtime/lua/vim/lsp/_watchfiles.lua:199: attempt to index field 'capabilities' (a nil value)"
```
2023-05-25 13:41:58 +05:30
0678e79929
newsboat: Update config 2023-05-25 13:41:58 +05:30
a3f8dbcb87
fish: conf.d/trash-cli-abbr: Add more abbreviations for rmtrash 2023-05-22 19:03:48 +05:30
620540000a
git/ignore: Ignore GHC environment files generated by cabal build 2023-05-19 18:59:35 +05:30
c844fe5874
nvim: after/plugin/nvim-lint: Enable actionlint
Run actionlint on save for GitHub Action workflow yaml files.
2023-05-18 15:37:41 +05:30
f37e10c68c
fish: conf.d: Add some abbreviations for cabal
Taken from https://vrom911.github.io/blog/haskell-aliases.
2023-05-17 20:52:42 +05:30
572a54d9fd
fish: conf.d: Add abbreviations for git
Taken from https://github.com/lewisacidic/fish-git-abbr with some
minor changes and additions of our own.
2023-05-15 20:45:48 +05:30
b01b94a251
ripgrep: Add a configuration file
Primarily contains things we want to be ignored by ripgrep for now.
We had been including these in gitignore which was not really correct.
2023-05-15 20:45:48 +05:30
245855e5ff
nvim: plugin/session: Do not load session if Quickfix list is loaded
This is required if we want to use git-jump or do anything with `nvim -q`.
2023-05-15 20:45:48 +05:30
9fc6d0eb2a
fish: Drop vgrep aliases and introduce abbreviations
We still keep the vgrep + FZF aliases.
2023-05-15 11:10:55 +05:30
22f5664cd6
fish: conf.d: Clean up unnecessary -a option for abbreviations 2023-05-11 18:16:11 +05:30
3851e99f1b
fish: functions: Rename to not conflict with git abbreviations 2023-05-10 14:24:40 +05:30
6474278ca1
fish: functions: Remove tmux and some git aliases
We will introduce equivalent ones with abbreviations.
2023-05-10 14:24:39 +05:30
1b5a8f5edb
fish: conf.d/setup: Set ripgrep config file path
ripgrep will not look in any predetermined directory for a config
file automatically. Instead, we need to set the RIPGREP_CONFIG_PATH
environment variable to the file path of our config file.
2023-05-09 16:19:07 +05:30