Commit graph

2235 commits

Author SHA1 Message Date
19dae2f54d
Add configuration for cargo 2024-12-21 20:28:49 +05:30
65df9845f7
nvim: lsp: Non-method client functions are deprecated
We have no idea what non method client functions are or
imply in the context of Lua but who cares.
2024-12-21 12:42:45 +05:30
66b7b0ae89
Drop Python configs
ruff is the replacement for all this slow garbage.
2024-12-21 10:47:22 +05:30
8985aa5aed
Drop a few configs 2024-12-21 10:40:37 +05:30
e272c5de9c
Revert "fish: conf.d: Add abbreviations for Zig"
This reverts commit 41f307d8a6.
2024-12-20 14:15:38 +05:30
d50935ff99
Revert "tmux/tmuxp: Create a separate tmux session for Zig"
This reverts commit ef9261c05e.
2024-12-20 14:15:38 +05:30
891797e8b8
i3status-rust: Drop the system load block 2024-12-19 20:30:02 +05:30
54e60a4e1d
i3status-rust: Drop network speed information 2024-12-19 18:32:30 +05:30
d080f3ca32
wireplumber: Use HQ for LDAC and auto connect A2DP sink 2024-12-19 18:15:26 +05:30
03c5792e63
nvim: plugins: Add guess-indent as vim-sleuth replacement 2024-12-19 18:15:26 +05:30
40fc22f5be
nvim: plugins: Drop marks, portal and vim-repeat/sleuth 2024-12-19 18:15:26 +05:30
5b39e641d2
tmuxp: Use short window names 2024-12-19 18:15:26 +05:30
4f551b351f
git: Set default branch to use main 2024-12-19 09:49:09 +05:30
28c060e0fe
nvim: lsp: Drop code action indicator 2024-12-19 09:49:08 +05:30
768ffe028f
jujutsu: Add initial configuration 2024-12-19 09:49:08 +05:30
72b1a2f0ea
nvim: lsp: Use vim.lsp.config and vim.lsp.enable
Use the newly introduced config and enable APIs.
https://github.com/neovim/neovim/pull/31031

We drop the settings for deno and typescript here. We added
javascript and typescript support as it was required for our
last client a while back. Drop them for now, we will add it
back if we need to. ts_ls is absolute garbage and hopefully
we won't have to work with the fuck all nonsense that is the
javascript ecosystem in the foreseeable future.
2024-12-19 09:49:08 +05:30
7c865bf17e
nvim: plugins: Drop snippets
We added snippets support but never use snippets at all.
2024-12-19 09:49:08 +05:30
4a622b4b74
nvim: treesitter: Fix incorrect file reference for lean 2024-12-19 09:49:08 +05:30
da81c10433
tmux: Move configuration to XDG_CONFIG_HOME 2024-12-19 09:49:08 +05:30
251de7448c
nvim: plugins: Drop parinfer
We do not work with any Scheme/LISP languages to keep this around.
2024-12-19 09:49:08 +05:30
99ab192efe
arch-packages: Update package list 2024-12-19 09:49:02 +05:30
01915f0d50
nvim: various-textobjs: Update configuration
useDefaultKeymaps is deprecated.
2024-12-09 10:40:32 +05:30
fdb3fff250
fish: Refactor git prompt to a separate function 2024-12-09 10:39:58 +05:30
ec79200972
rmpc: Add minimal configuration 2024-12-07 19:37:05 +05:30
6c304556f8
nvim: lsp-utils: Miscellaneous clean ups
- Drop bash language server. We do not want to run JS/TS
based garbage. Now that we do not need to do any official
work on JS/TS, we can get rid of all npm/yarn/pnpm shit.
- Remove settings for inlay hints for TS server as lot of
idiots writing TS do not provide type annotations all the
time. ts_ls is also not useful at providing type hints, so
inlay hints have never been useful.
- Prevent clangd from running on single files.
2024-12-07 19:35:47 +05:30
82a5dedbfe
tmux/tmuxp: Create a tmux session for Rust 2024-12-07 11:40:31 +05:30
d1e486d521
tmuxp: Run rmpc instead of ncmpcpp 2024-12-05 22:10:53 +05:30
ba4a2d2119
fish: conf.d/setup: Set environment variable for Poetry
If and when we get to using Poetry, make sure it creates
and uses the virtual environment inside the project root.

https://python-poetry.org/docs/configuration/#virtualenvsin-project
2024-12-05 22:10:53 +05:30
591c738973
Revert "fish: setup: Set a needed environment variable for work"
This reverts commit 28eccacade.
2024-12-05 22:10:53 +05:30
cf35532130
paru: Clean up commented options 2024-12-03 19:17:14 +05:30
851fba8adb
git-blame-ignore-revs: Ignore move of git config to XDG_CONFIG_HOME 2024-12-03 17:52:41 +05:30
3ed37f8a87
git: Move config to XDG_CONFIG_HOME 2024-12-03 17:52:09 +05:30
a1a7c8b272
git: Enable rerere 2024-12-03 17:52:09 +05:30
b1a6212749
nvim: fugitive: Improve git blame
Improve git blame by
- w: Ignoring white space
- C: Detect lines moved or copied in the same commit
- C: The commit that created the file
- C: Any commit at all
2024-12-03 17:52:09 +05:30
cdde7294ff
nvim: after/ftplugin/haskell: Lint on save
Now that we use static-ls as Haskell LSP which does not
have hlint support for diagnostics yet, lint on save to
get hlint diagnostics.
2024-11-30 18:46:05 +05:30
bd98551ec9
ghc: Miscellaneous updates and clean up 2024-11-30 18:44:55 +05:30
198d333a79
Switch back to using foot as the default terminal 2024-11-30 18:44:55 +05:30
45dd7c4e20
arch-packages: Update package list 2024-11-30 18:44:55 +05:30
aab3d5bee3
fish: functions: Move HieDb helpers to functions
Using abbreviations for shell commands does not seem clean. They also
seem out of place along with other cabal abbreviations.

While at it, we also add a helper to nuke all Haskell build artefacts.
This is convenient instead of running cabal clean in every project or
relying on Kondo.

For deleting directories, we replace -delete with -exec rm -rv {} + or
-exec rm -rv {} \ which should delete directories recursively without
error. + at the end will result in rm -rv file1 file2 ... while using
\ will result in rm -rv file1; rm -rv file2; ...
2024-11-30 18:44:10 +05:30
386cc0c75b
Revert "foot: Use the default colour scheme"
This reverts commit 3f245ac362.
2024-11-29 16:40:31 +05:30
a8f9cc30d1
tmux: Update plugins 2024-11-29 16:39:53 +05:30
bcfd9372dc
nvim: fugitive: Add mapping to view file on another branch 2024-11-28 11:29:50 +05:30
036b6652a9
nvim: lsp: Do not attach LSP if file is opened via git
We might use Git show to view git revision of the file
on another branch and we do not want to attach LSP to
this file. This file will be opened as a temporary with
path /tmp/nvim/<something>.

On similar lines to commit 1eec783a20.
2024-11-28 11:29:50 +05:30
e3ff05fa11
sway: Do not specify Pictures directory explicitly 2024-11-27 21:39:47 +05:30
ced8814557
alacritty: Increase font size 2024-11-27 12:04:21 +05:30
04c7bb2fc3
foot: Increase font size 2024-11-27 12:04:21 +05:30
dd1b17287f
nvim: lsp-utils: Update bash configuration 2024-11-26 22:06:10 +05:30
3f42d117b6
nvim: lsp-utils: Update Deno configuration 2024-11-26 22:06:10 +05:30
218eff222e
xdg-desktop-portal: Add configuration for desktop portal
xdg-desktop-portal backend for wlroots only provides screenshot and
screencast. For others it is recommended to use a generic portal or
a specific one providing the required interface.

https://github.com/emersion/xdg-desktop-portal-wlr?tab=readme-ov-file#running
2024-11-26 13:38:56 +05:30
a5116233c1
foot: Disable dpi-aware
May be this was the reason foot & tmux did not play well
together last time on multiple monitors. This is disabled
by default, so keep it disabled. We will revisit this if
it is actually required.
2024-11-25 16:51:07 +05:30