Commit graph

2222 commits

Author SHA1 Message Date
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
773a6b6ff4
zig: Enable build on save diagnostics
https://kristoff.it/blog/improving-your-zls-experience/
2024-11-25 16:50:41 +05:30
f57fd23a12
arch-packages: Update package list 2024-11-24 15:57:46 +05:30
d19e7b4382
nvim: after/ftplugin/sh: Drop language server & enable linting on save
Bash language server is written in typescript and we do
not want to keep node, npm or pnpm around for this.
2024-11-23 19:14:15 +05:30
d821233538
fish: conf.d/cabal-abbr: Use jobs argument for cabal install 2024-11-23 19:14:15 +05:30
8d8eb07508
fish: conf.d/cabal-abbr: Helper for generating hie with multi-project root
See
https://github.com/josephsumabat/static-ls/issues/127#issuecomment-2392751273
2024-11-23 19:14:15 +05:30
f8f7ee1d45
Drop a few configs 2024-11-21 18:02:47 +05:30
639739bbc3
nvim: treesitter: Enable Typst 2024-11-21 16:14:27 +05:30
474e62d942
nvim: lsp: offset_encoding is now a required parameter
See
629483e24e
2024-11-21 16:14:27 +05:30
5c00f581bf
fish: conf.d/cabal-abbr: Add abbreviation for generating hiedb 2024-11-19 21:51:03 +05:30
d9536bede6
git/ignore: Ignore Haskell hie files and directory 2024-11-19 17:55:46 +05:30
c1f0f9f6c9
environment: qt: Only allow Wayland as platform
This fixed the problem of applications like Calibre and OBS
crashing and complaining about the platform even though the
platform plugin was correctly found. Any ways anything still
depending on X needs to die.
2024-11-19 12:11:33 +05:30
292ee9428e
nvim: after/ftplugin/zig: Do not add library source to buffer list 2024-11-19 00:07:14 +05:30
d8187ee775
nvim: after/ftplugin/json: Lint on save 2024-11-18 11:03:06 +05:30