1
0
forked from extern/nix-config
Commit Graph

48 Commits

Author SHA1 Message Date
Donovan Glover
5d12aaacb0
neovim: Conditionally load denols/tsserver
Makes it possible to use both Deno and Node/Bun projects with the same
config.
2023-09-30 11:08:37 -04:00
Donovan Glover
b8c3b2504f
feat: Add biome 2023-09-30 10:54:06 -04:00
Donovan Glover
7502a044e7
chore: Prefer hash over sha256 2023-09-30 10:39:10 -04:00
Donovan Glover
3a6c2f44ed
feat: Add bun
Will be trying out bun to see how it compares to deno and other tools.
2023-09-12 17:02:23 -04:00
Donovan Glover
5b58696de6
chore: Fix spacing 2023-08-29 21:00:47 -04:00
Donovan Glover
e6fa09220e
neovim(clipboard-image): Don't prompt for file name
Fixes an issue where this would occasionally break.
2023-08-22 14:53:06 -04:00
Donovan Glover
c1766e8aa8
neovim: Add texlive for vimtex 2023-08-19 22:16:15 -04:00
Donovan Glover
d7be8aad20
neovim: Add cargo audit/license
Should probably move this out of neovim later.
2023-08-06 16:53:50 -04:00
Donovan Glover
61be25469c
neovim: Add pnpm
May continue to use yarn in spite of this.
2023-08-01 16:26:15 -04:00
Donovan Glover
c231825512
neovim: Add cargo-info
As a reminder, the neovim module includes a bunch of additional stuff
used for development. Although convenient, another approach may be
considered in the future.
2023-08-01 12:33:35 -04:00
Donovan Glover
4e4ceeb6fb
feat(neovim): Highlight markdown code blocks
This adds syntax highlighting to code blocks with vim-markdown while
keeping pretty much everything else the same.
2023-08-01 12:16:02 -04:00
Donovan Glover
5f629bf0d6
fix(neovim): Manually toggle git blame
This fixes an issue where git blame would still show a single fixed line
in zen mode previously.
2023-08-01 12:14:24 -04:00
Donovan Glover
6991587294
neovim: Remove markdown conceal
Was causing more issues than problems it solved. Markdown conceal can be
successfully achieved with an external browser window.
2023-08-01 12:12:33 -04:00
Donovan Glover
075e1b6f13
neovim: Don't use tabs for markdown
Not needed since I don't edit logseq files directly nearly as often.
2023-08-01 12:11:19 -04:00
Donovan Glover
6c14b37a9f
neovim: Don't trim trailing whitespace on save
Fixes an issue where autosave would cause indentation to be lost due to
editorconfig removing extra whitespace.
2023-07-26 18:24:43 -04:00
Donovan Glover
b61e2ff951
neovim: Conceal markdown links without vim-markdown
This also conceals some other stuff like JSON strings, but seems to be
worth it overall.
2023-07-26 13:10:02 -04:00
Donovan Glover
d32d5e6c33
neovim(image-nvim): Decrease max width/height 2023-07-26 12:50:12 -04:00
Donovan Glover
1f80cd691e
neovim(clipboard-image-nvim): Customize image name 2023-07-26 10:02:17 -04:00
Donovan Glover
02f2a2bce4
neovim(clipboard-image-nvim): Change image directory 2023-07-26 10:01:10 -04:00
Donovan Glover
9ae34eb739
neovim: Add syntax highlighting to mdx files 2023-07-26 09:59:44 -04:00
Donovan Glover
3fa826e7a2
neovim: Add vim-astro 2023-07-26 09:57:17 -04:00
Donovan Glover
aa64667d78
neovim: Add clippy 2023-07-22 13:22:27 -04:00
Donovan Glover
5ec3ad510b
neovim: Add nvim-autopairs 2023-07-19 18:19:22 -04:00
Donovan Glover
baa4ca1362
neovim: Add astro-language-server 2023-07-19 13:21:11 -04:00
Donovan Glover
07bd6c6ed6
neovim: Add typescript-language-server 2023-07-19 11:26:16 -04:00
Donovan Glover
adf69e0d7c
chore: Remove unnecessary comments 2023-07-17 22:32:44 -04:00
Donovan Glover
9a8b25bb2c
neovim: Add image-nvim
image-nvim is a new neovim plugin similar to hologram.nvim that adds
support for inline images to neovim.
2023-07-17 22:18:40 -04:00
Donovan Glover
81a5a84d39
neovim: Remove hologram-nvim
Not needed anymore since I figured out how to get image-nvim working in
NixOS.
2023-07-17 20:25:45 -04:00
Donovan Glover
bddff06eca
neovim: Add hologram.nvim
For historical purposes, I am adding hologram.nvim in a commit, although
I should be able to replace this with image.nvim.
2023-07-15 21:45:32 -04:00
Donovan Glover
d367b44e60
neovim: Add clipboard-image-nvim
May need to configure this later.
2023-07-15 18:57:40 -04:00
Donovan Glover
d58fef7511
editorconfig: Don't trim markdown whitespace
Fixes an issue where auto-indents would be automatically removed with
the auto-save plugin enabled. Should probably fix this behavior later
so auto-indent works properly with all files.
2023-07-15 12:35:30 -04:00
Donovan Glover
526a9c7fe9
neovim: Add yuck-vim
Useful for reading eww files.
2023-07-15 12:32:55 -04:00
Donovan Glover
bad9f4cbf7
neovim(lualine): Don't show for nvim-tree 2023-07-11 07:58:33 -04:00
Donovan Glover
dc677d170c
neovim: Add zen-mode-nvim
zen-mode-nvim is a cool lua plugin similar to Goyo that makes reading
and writing long-form content in neovim easier.
2023-07-10 21:58:04 -04:00
Donovan Glover
244c1386a9
neovim: Revert conditional fcitx import
This actually had the side effect of not including fcitx-vim in all
cases.
2023-07-08 20:12:55 -04:00
Donovan Glover
62207c05fa
chore: Formatting
Also removes redundant comments.
2023-06-26 18:38:45 -04:00
Donovan Glover
a78151b9c5
neovim: Don't hardcode base16 theme 2023-06-25 20:25:20 -04:00
Donovan Glover
e0eb0b064d
neovim: Add make/cmake
Some rust libraries unironically require cmake in order to compile.
2023-06-22 14:39:54 -04:00
Donovan Glover
7316153e37
chore: Formatting 2023-06-22 11:30:32 -04:00
Donovan Glover
b05eecbdbf
neovim: Add pkg-config
Some programs require this in order to compile successfully.
2023-06-21 03:37:07 -04:00
Donovan Glover
ec418619ab
meta: Replace crystal-flake with nixpkgs-crystalline 2023-06-20 08:30:20 -04:00
Donovan Glover
92300c6d9d
fix(neovim): Fix npm package name 2023-06-19 16:19:24 -04:00
Donovan Glover
b7ed04d1a2
meta: Move shards to neovim config
The neovim config has everything I need for software development, so
having shards there makes sense.
2023-06-19 12:10:59 -04:00
Donovan Glover
72bd18dcfc
npm: Use home-manager package instead of nixos module
Now that I am able to understand and read NixOS/nixpkgs source code, I
understand that the usage of the npm module isn't needed since I don't
configure npm at a global level.
2023-06-19 04:00:50 -04:00
Donovan Glover
f9fdac4925
fix(neovim): Only import fcitx-vim if fcitx5 enabled
This fixes an issue where fcitx-vim would error on systems without
fcitx5 enabled.
2023-06-17 12:30:30 -04:00
Donovan Glover
47a8763fc9
Revert "neovim(nvim-tree): Highlight default.nix"
This actually makes the default.nix stand out a bit *too* much.
2023-06-16 14:18:55 -04:00
Donovan Glover
ce727de65b
neovim(nvim-tree): Highlight default.nix 2023-06-16 12:53:18 -04:00
Donovan Glover
877ce570bf
meta: Move home modules up one directory
This is possible since each home-manager module is now its own
self-contained nix file.
2023-06-16 12:13:26 -04:00