Commit graph

1984 commits

Author SHA1 Message Date
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
9e0a966191
git: Clean up git ignore
We have been adding a few entries to gitignore which we wanted to
be ignored by ripgrep for search. Remove them. We will move them
to ripgrep configuration.
2023-05-09 16:19:07 +05:30
ff616c1481
git: Set addIgnoredFile to false
Do not advice if we attempt to add an ignored file to the index.
2023-05-09 16:19:07 +05:30
42601f6214
nvim: after/plugin/easyalign: Allow aligning on ' 2023-05-09 16:19:06 +05:30
9cf5f2d409
wireplumber: Disable C920 webcam microphone
On the desktop, we use the USB microphone and the C920 being selected
as the default was becoming annoying. Add a rule to disable C920 node
acting as an audio microphone input. The video source provided by C920
will still be functional. We are only turning off the Audio/Source
node and not the complete device.
2023-05-09 10:38:40 +05:30
1546762662
nvim: after/plugin/fzf-lua: Always parse globs in grep 2023-05-08 18:06:18 +05:30
f8267b23b0
nvim: after/plugin/gitlinker: Add gitea web hosts we work with 2023-05-06 18:20:19 +05:30
556cdeb219
tmuxp: Set starting directory for GitSources window 2023-05-06 13:23:21 +05:30
6fdaf3356f
fish: conf.d: Clean up unnecessary -g option for abbreviations 2023-05-06 13:11:03 +05:30
83c572019c
fish: conf.d: Add abbreviations for trash-cli and rmtrash 2023-05-06 13:09:37 +05:30
471611f915
arch-packages: Update package list 2023-05-06 11:54:06 +05:30
1f9b8882c7
tut: Nuke tut configuration 2023-05-06 10:50:35 +05:30