Commit Graph

164 Commits

Author SHA1 Message Date
Donovan Glover
a4199be9c0
editorconfig: Drop unused file type settings
The rust editorconfig isn't necessary, and I don't edit the other file
types anymore.
2024-08-11 14:58:05 -04:00
Donovan Glover
84e38fc2b1
neovim: Drop chameleon.nvim
Not interested in dealing with fixing the nixf-tidy issue here which
would cause a massive formatting diff with nixfmt-rfc-style. Might
upstream later or find a better solution without chameleon.nvim.
2024-08-09 19:52:32 -04:00
Donovan Glover
03b91edd4f
neovim: Make folded background transparent
Now zM is a lot prettier to use.
2024-08-09 18:09:28 -04:00
Donovan Glover
0286b818de
neovim: Drop pug / ecr
There really isn't a reason to use pug or ecr in 2024 when the
development experience with JSX/TSX is so great, and sticking to
what's popular makes it easier for other people to contribute.
2024-08-09 13:39:07 -04:00
Donovan Glover
92851019c8
neovim: Drop vue
I haven't used Vue in years and have much more expertise in vanilla
JavaScript/TypeScript with React and JSX/TSX, so there's really no
reason for me to keep it here.
2024-08-09 13:36:20 -04:00
Donovan Glover
da29bcbf4d
neovim: Remove unnecessary comments
The built-in help and https://neovim.io/doc/user/options.html can be
used instead if an option isn't known at read time.
2024-08-09 11:13:31 -04:00
Donovan Glover
19bb580cb0
neovim: Remove useless softtabstop option
0 is already the default.
2024-08-09 11:10:42 -04:00
Donovan Glover
f82b999542
neovim: Drop remaining crystal support
As much as I love reading the Crystal programming language, it's clear
that there are more opportunities to be had with prioritizing Rust
instead. The ecosystem for Rust is vastly superior with higher quality
libraries and an LSP that's actually feature-complete, and I'd rather
deal with the known problems I'm aware of with Rust than the problems
I'm aware of with Crystal.

Rust won. Joking aside, the ecosystem for Rust is vastly superior, even
if the language is more difficult.
2024-08-08 20:53:03 -04:00
Donovan Glover
87adeff650
neovim: Drop unused language servers
Prioritizing Nix / Rust / TypeScript.
2024-08-08 17:48:12 -04:00
Donovan Glover
14f65a9633
home: Format with nixfmt-rfc-style 2024-08-03 14:22:47 -04:00
Donovan Glover
55fbafa129
meta: Move base16-nvim config into stylix 2024-08-03 12:17:40 -04:00
Donovan Glover
a9d6dee463
neovim(nix): Switch language server from nil to nixd
nixd seems to be much better than the last time I tried it.
2024-08-02 21:10:57 -04:00
Donovan Glover
ca52770815
neovim: Add chameleon.nvim for kitty support
Makes it possible to change color schemes in neovim and have the color
of padding from kitty change as well.
2024-08-02 21:07:46 -04:00
Donovan Glover
c6707b2429
neovim: Drop base16-nvim version override
Color differences seem to be fixed now, possibly because of neovim
v0.10.0.
2024-07-17 19:47:26 -04:00
Donovan Glover
aa0ee9330c
neovim: Fix capital scheme names breaking base16-nvim 2024-07-06 17:57:10 -04:00
Donovan Glover
97fdb6d22a
neovim: Drop fcitx-vim
This was significantly increasing start time and I didn't use it too
much. There should be lighter alternatives out there that aren't
packaged in nixpkgs.
2024-06-25 23:36:45 -04:00
Donovan Glover
3b25740fb1
neovim: Inherit scheme instead of slug from stylix
Fixes an issue where importing the path directly changed the slug name
in stylix.
2024-06-20 22:31:35 -04:00
Donovan Glover
ce02f98e0c
neovim: Drop csv-vim
This actually isn't that useful and has some bugs where errors are shown
and the neovim tree window is used instead of the active window with the
CSV file.
2024-05-31 16:25:26 -04:00
Donovan Glover
566e479f32
meta: Move dev tools to separate module
Should fix the ci running out of space. Eventually we'll want to remove
this from our global $PATH and leverage nix flakes instead.
2024-05-20 13:14:11 -04:00
Donovan Glover
4e61b89e3b
vimtex: Set out_dir to /tmp/vimtex
This guarantees that auxiliary files won't be present in the current
directory from latexmk, and encourages reproducible pdfs with the usage
of tectonic.
2024-05-20 11:07:20 -04:00
Donovan Glover
b26094698c
Revert "vimtex: Drop unnecessary vimtex_view_method"
This breaks synctex support for zathura.
2024-05-20 01:01:04 -04:00
Donovan Glover
d1f571bc48
vimtex: Drop unnecessary vimtex_view_method
Seems to be handled automatically by xdg-open, so removing this makes
the config more portable.
2024-05-20 00:32:07 -04:00
Donovan Glover
9b79bc6a61
meta: Remove nixpkgs-fmt / nixfmt from global $PATH
These should be used at the flake level instead so `nix fmt` can be
used.
2024-05-19 23:33:35 -04:00
Donovan Glover
a2aa6149a6
neovim: Switch from marksman to markdown-oxide
Seemed a bit buggy from initial testing, but should overall have more
features for PKM-related activities than marksman.
2024-05-15 17:39:28 -04:00
Donovan Glover
b438e9bafc
feat: Drop typst support
Although typst is an interesting project, TeX has vastly superior
typesetting and a significantly larger repository of existing packages
and knowledge to extend upon.

I faced auto-updating issues with typst that weren't present with
vimtex, and TeX in general has better support for auto-completions due
to its \backslash usage.
2024-05-14 08:21:50 -04:00
Donovan Glover
aa32d93576
meta: Move base16-nvim into separate package
Makes the package easier to use outside of the config.
2024-05-12 20:48:04 -04:00
Donovan Glover
4fcf7d48af
meta: Remove sqlite / sqlcipher from global $PATH
Will be handled in individual project flake.nix files instead.
2024-05-12 19:17:18 -04:00
Donovan Glover
78d3861fd5
meta: Remove pnpm / yarn / bun from global $PATH
Will be focusing on npm instead since tooling is excellent and I'd
rather have a package manager that's old, reliable, and just works
than a newer one that might be missing a feature I need.
2024-05-12 14:46:26 -04:00
Donovan Glover
522ea1201d
meta: Remove crystal / shards from global $PATH
This is a part of having separate flake.nix files for each project
and using devShells for the dependencies needed.

Note that using Crystal as a language seems less likely overall due to
the difficulty of building Crystal packages for nixpkgs and the lack of
tooling and library support compared to other languages like TypeScript
and Rust.
2024-05-12 14:41:04 -04:00
Donovan Glover
4d3cb6c027
chore: Prefer hash over sha256 2024-05-12 11:55:47 -04:00
Donovan Glover
8a59fb9bbb
neovim: Prefer treesitter prisma over vim-prisma
vim-prisma currently has an issue where the syntax highlighting gets
messed up as one scrolls. The treesitter version doesn't have this
issue, which makes it more pleasing to work with.
2024-05-12 10:25:39 -04:00
Donovan Glover
681251cc75
neovim: Remove useless if statement
Yikes.
2024-05-10 15:31:32 -04:00
Donovan Glover
1a2dc0b5ae
meta: Don't install prisma globally
Prisma should be version locked to each individual project instead.
2024-05-10 14:55:32 -04:00
Donovan Glover
cb650a5b5b
chore: Remove redundant nodePackages.npm
Not needed since npm is included with nodejs.
2024-05-03 07:49:45 -04:00
Donovan Glover
ca4311fbd9
neovim: Replace vim-pug with treesitter
I don't use pug anymore so using treesitter is easier than having to
worry about a separate plugin.
2024-04-30 05:57:24 -04:00
Donovan Glover
08b6b737b6
neovim: Replace vim-vue with treesitter + vuels
Note that Vue tooling is seemingly subpar compared to React + TypeScript
so despite learning Vue first (and Angular.js before that), I don't
think I'd ever want to work with Vue again after getting familiar with
functional programming and React.
2024-04-30 05:40:33 -04:00
Donovan Glover
6d859f9d61
Revert "neovim: Remove vim-jsx-pretty"
This actually breaks auto-indent in tsx files.
2024-04-29 13:38:29 -04:00
Donovan Glover
a2e751a19c
neovim: Replace bufdelete-nvim with :bp|bd #
One less plugin to worry about.
2024-04-29 13:23:30 -04:00
Donovan Glover
de8a16a10c
neovim: Remove vim-over
I now use better tools that do one thing and do it well such as sd and
the built-in renamer of language servers.
2024-04-29 13:11:12 -04:00
Donovan Glover
36b322bb0c
neovim: Remove vim-jsx-pretty
Shouldn't be needed in modern times (or at least with treesitter) and no
observable difference was found when removing it.
2024-04-29 13:07:15 -04:00
Donovan Glover
4f120eab26
neovim: Drop emmet-vim
Don't use this nearly as much if at all in 2024 and any duplication is
usually handled programmatically or, in rare cases, with vim itself.
2024-04-29 12:47:38 -04:00
Donovan Glover
52bf43a2a7
neovim: Drop zen-mode-nvim
I never used this and it seems to cause more issues than it's worth.
It's easier to simply hide the tree on the left and manually adjust the
size of the kitty window.
2024-04-29 12:46:36 -04:00
Donovan Glover
48e173ac34
neovim: Drop useless markdown specifier
This seems to be the default now.
2024-04-29 12:46:12 -04:00
Donovan Glover
6711f75a0c
base16-nvim: Downgrade from 2024-04-18 to 2024-02-17
This fixes an issue where syntax highlighting was fixed upstream, which
broke my workflow since I was using the changing colors of the plugin
to determine when the LSP was loaded in. I also liked how it syntax
highlighted valid identifiers a different color than invalid ones.

See: https://github.com/RRethy/base16-nvim/pull/96
2024-04-25 12:52:38 -04:00
Donovan Glover
39e5183013
chore: Simplify
Note that biome isn't needed since eslint is *the* industry standard.
2024-04-22 22:29:47 -04:00
Donovan Glover
0ea334ae81
neovim: Drop yats-vim
Apparently dropping "Yet Another TypeScript Syntax" makes the startup
time of Neovim about twice as fast. This was originally added to fix an
issue with "type" annotations in imports being incorrect, although this
appears to have been fixed now.

From a cursory glance, there seems to be no difference between yats-vim
and the treesitter syntax highlighting I use, so it should be fine to
drop this for the massive performance gains.
2024-04-21 07:55:49 -04:00
Donovan Glover
f91bf00256
chore: Remove redundant build tools from global environment
These *shouldn't* be needed since if a package requires these tools,
they'll have their own nix derivation.
2024-04-18 16:58:05 -04:00
Donovan Glover
fbb09fea48
neovim: Specify defaultEditor at the home-manager level
Does the same thing (with the exception of VISUAL not being set for now)
but makes the module more portable overall.
2024-04-18 13:44:25 -04:00
Donovan Glover
482c7a18e0
neovim: Use extraPackages for LSP packages
Prevents these packages from "polluting" the global namespace.
2024-04-18 12:49:14 -04:00
Donovan Glover
18e291822c
neovim: Drop plenary-nvim
This *shouldn't* be needed since it's a dependency of other vim plugins
and the dependency *should* automatically be handled at the nix level.
2024-04-18 11:02:00 -04:00