Commit graph

2085 commits

Author SHA1 Message Date
48b2de04da
helix: Update configuration 2023-09-16 15:48:49 +05:30
bac3f8b577
nvim: Drop Python LSP
All Python LSP servers are garbage. Jedi was being horribly slow.
We only care about Python for GStreamer/GObject work where Python
GObject's missing type annotations prevent us from using something
like Pyright or similar. Just drop all this crap. Fuck Python!.
2023-09-15 11:46:05 +05:30
39c8f2890a
nvim: plugin/epoch-converter: Use UTC time zone 2023-09-14 14:50:23 +05:30
48e6b25a84
fish: functions: Use newer eza which is replacement of exa 2023-09-12 13:45:19 +05:30
064df213f2
nvim: treesitter: Add back bash, markdown & python
We had dropped these in commit f349a32 since these are now included
upstream but it seems when using neovim build from source, upstream
bundled parsers do not get updated at the same cadence as treesitter
plugin. This results in breaking syntax highlighting and we have
faced this now for python and bash. Bash is still broken.
2023-09-12 12:20:42 +05:30
f21bb3141a
gitignore: Ignore the paq-lock file 2023-09-12 12:20:42 +05:30
776a1c57d6
tmux: Update plugins 2023-08-30 13:48:55 +05:30
2bb8c85003
nvim: Update paq 2023-08-30 13:48:23 +05:30
49b6a9e961
arch-packages: Update package list 2023-08-24 16:00:50 +05:30
2a13330b16
helix: Add a configuration for helix
Taken from
https://github.com/LGUG2Z/helix-vim
2023-08-24 15:59:04 +05:30
ba29cb1d56
nvim: treesitter: Drop teal 2023-08-24 15:58:00 +05:30
dbc0672151
fish: functions: Add an alias for helix 2023-08-22 18:19:15 +05:30
f78e53ee7c
arch-packages: Update package list 2023-08-15 18:57:47 +05:30
b10f5e47e7
nvim: colors/yolokai: Switch to Starlight
Colour Palette taken from
https://github.com/CosmicToast/starlight
2023-07-28 17:45:30 +05:30
3f245ac362
foot: Use the default colour scheme
foot switched to using Starlight as the default colour scheme. It
seems good so let's just use that.
https://github.com/CosmicToast/starlight
2023-07-28 17:45:29 +05:30
b5495391da
ripgrep: Ignore js/test directory at work 2023-07-28 17:45:29 +05:30
ff45d50937
i3status-rust: Add time block with UTC timezone
We often find ourselves looking up UTC time, so add a block showing
time in UTC. While at it, drop the year which is not really useful.
2023-07-20 09:26:35 +05:30
95bbaa2b97
nvim: lsp: Drop mapping for hover
K is mapped to hover by default now. So let's drop our own mapping
and just use K.
2023-07-17 12:16:23 +05:30
6313ece287
nvim: after/plugin/fzf-lua: Add a mapping for bcommits in visual mode
The <cmd> is necessary, as `:` exits visual mode. Also, while at it
use vim.keymap.set instead of nvim_set_keymap.

Also see, https://github.com/ibhagwan/fzf-lua/issues/816.
2023-07-12 14:30:40 +05:30
00da5c690f
nvim: colors: Minor clean up
The call to highlight_terminal was redundant since we were passing
just {}. Also remove cterm related settings. Upstream has diverged
significantly, so we need not care about upstream any more.
2023-07-11 16:08:31 +05:30
549bc29b6f
nvim: lsp: Update capabilities check
Dynamic capabilities were introduced in neovim with commit ddd92a7.

With dynamic registration of LSP capabilities, a client's `server_capabilities`
is no longer a sufficient indicator to see if a server supports a feature. We
instead need to use `client.supports_method(<method>)` which  considers both
the dynamic capabilities and static `server_capabilities`.
2023-07-11 16:08:31 +05:30
5b108ac9b4
nvim: plugins: Minor clean up
Also run TSUpdate if treesitter gets updated.
2023-07-11 16:08:31 +05:30
6dd655ebce
nvim: after/ftplugin/diff: Do not highlight white space 2023-07-07 17:52:01 +05:30
8db1867f30
nvim: plugins: Drop nvim-lightbulb
Drop nvim-lightbulb and just add the needed functionality. This also
fixes a minor bug where the code action detection was incorrectly
being done under codeLensProvider instead of codeActionProvider.
2023-07-06 18:26:07 +05:30
b24c03af09
nvim: plugins: Drop dirbuf and use mini.files module 2023-07-06 16:57:38 +05:30
ea588b0556
nvim: after/plugin/mini: Drop use of align module 2023-07-06 16:57:38 +05:30
23a8093e25
tridactyl: Add quickmark for IETF 2023-07-06 16:38:30 +05:30
facb09790b
arch-packages: Update package list 2023-07-04 17:00:06 +05:30
f349a32582
nvim: treesitter: Bash, markdown & python are included upstream 2023-07-03 17:23:25 +05:30
81508aa84b
nvim: after/plugin/mini: Add a key mapping for removing white space 2023-07-03 17:22:20 +05:30
96fe9893a1
fish: conf.d/cabal-abbr: Add a version of cabal build using --allow-newer 2023-07-01 13:12:44 +05:30
d159850db2
nvim: lsp: inlay_hint() has been moved to vim.lsp 2023-07-01 09:14:26 +05:30
9465e12ad3
i3status-rust: Add disk space block 2023-06-30 10:26:29 +05:30
a159fc3868
ripgrep: Ignore markdown files
When searching in projects like SIPjs, we get a lot of results which are
in markdown files as the documentation in SIPjs is in markdown. We mostly
care about code when searching. So ignore markdown files while searching
just like we ignore a few others.
2023-06-29 19:43:37 +05:30
8218e69e1f
wireplumber: Disable HDMI monitor as an audio sink 2023-06-29 19:43:37 +05:30
9c9dc6a6b8
nvim: after/plugin/mini: Use jump2d for f, F, t, T motions
mini.jump module does not give multiple hints when moving on the
same line like hop use to. Use the jump2d module to achieve this
functionality. This makes it easy to jump forward or backward on
the same line with just one hop instead of having to press f/F
multiple times which is just annoying and stupid.
2023-06-29 19:32:05 +05:30
0265000a4f
nvim: lsp/statusline: Add support for LSP progress
Use the same timer loop for updating LSP progress in status line
which we use for updating git ahead, behind status.
2023-06-24 15:30:22 +05:30
c1e4b234fb
nvim: statusline: vim.loop has been renamed to vim.uv 2023-06-22 17:16:23 +05:30
9d8130d160
nvim: lsp: Minor clean up
Define functions in a consistent way through out. We like the pattern
`local function_name = function()` instead of `local function_name()`
for defining functions.
2023-06-22 12:21:42 +05:30
31c9213c0a
nvim: lsp: Add support for inlay hints
Make sure to disable inlay hints by default. It seems to be quite
bug ridden at the moment. However, we add a key mapping to toggle
inlay hints.
2023-06-22 12:19:30 +05:30
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