Commit graph

351 commits

Author SHA1 Message Date
e36ab3efd9 Add vim-textobj-indent 2024-09-15 23:11:22 +01:00
f2bc6066d3 Add sort.nvim
https://github.com/sQVe/sort.nvim
2024-09-13 22:11:28 +01:00
Oliver Davies
79973e3eb3
Create scss.lua
Add a `bp` snippet for adding a new breakpoint.
2024-09-13 11:15:23 +01:00
Oliver Davies
40da64b6b3
Delete lua/opdavies/snippets/talks/sculpin.lua 2024-09-13 11:11:47 +01:00
f8c09a13e4 Add cmp-calc
Show calculations as a completion suggestion.

https://github.com/hrsh7th/cmp-calc
2024-09-04 18:36:35 +01:00
5af45522fb Remove tmux references
These aren't needed as I'm now using Zellij.
2024-09-04 07:50:29 +01:00
5b731dd0b8 Remove old plugins from nixpkgs 23.05
I can re-add them later if I want.
2024-09-04 07:47:19 +01:00
94e48a0569 Update flake dependencies 2024-09-03 23:45:50 +01:00
472c36a437 Refactor adding Vim plugins
Remove the `vimPlugin.` prefix as much as possible.
2024-09-03 23:38:54 +01:00
b7c347fa10 Refactor treesitter plugins
Remove the `p.` prefix.
2024-09-03 23:31:06 +01:00
8de23561ec Revert "Remove unused keymaps"
This reverts commit c538a3bfa3.
2024-09-03 18:43:46 +01:00
c538a3bfa3 Remove unused keymaps 2024-09-03 18:41:03 +01:00
2f76ac4d68 Add FormatDisable and FormatEnable commands 2024-08-26 01:10:56 +01:00
0dfa1310c4 Update spell file 2024-08-26 00:50:10 +01:00
c5763b912e Allow for disabling auto-formatting
Allow for disabling auto-formatting with a global or buffer-local
variable, based on
62eba813b7/doc/recipes.md (autoformat-with-extra-features).

In the future, it would be interesting to do this based on the presence
of a file in the repository, such as `.do-not-auto-format`.
2024-08-26 00:47:57 +01:00
c2dc2c07d0 Add kdl treesitter parser 2024-08-24 02:57:23 +01:00
6744a1bf0c Update spell file 2024-08-21 14:50:34 +01:00
07f9f677d3 Update spell file 2024-08-17 12:32:04 +01:00
c6de886ae7 Update Drupal snippets 2024-08-16 14:53:29 +01:00
95f49f9b47 Update spellfile 2024-08-13 23:20:06 +01:00
2168ca6725 Add keymaps 2024-08-13 23:19:42 +01:00
e46159a94c Add a new snippet to generate run file contents 2024-08-12 10:32:44 +01:00
d12aba9bce vim-test: use the neovim_sticky strategy 2024-08-11 16:19:10 +01:00
35c7f8acb7 Remove vim-projectionist
I've replaced it with edit_alternate.vim in the previous commit, which
works with `.twig` and `.config.yml` files in Fractal projects as well
as test classes in Drupal, which is all I need alternate files for at
the moment.
2024-08-11 10:47:49 +01:00
9a7863e5e0 Add edit_alternate.vim
https://github.com/tjdevries/edit_alternate.vim

This works for switching between classes and tests in Drupal modules,
which is something I was struggling to do with Projectionist.

Different to Projectionist, though, this plugin doesn't create an
alternate file if it doesn't exist, and doesn't prompt to select from
multiple options and returns the first matching one.
2024-08-11 10:47:49 +01:00
3fa266d1dc Update spellfile 2024-08-10 02:27:47 +01:00
641e8bae4e Remove cmdline completion
Let's see if this fixes some intermittent issues when trying to tab
complete in command mode.
2024-08-10 02:26:53 +01:00
142a55e82f Update files that are deleted after building 2024-08-09 09:14:44 +01:00
5221d941d0 Add Sculpin talk snippets 2024-08-08 21:51:35 +01:00
f2407795a8 Update spellfile 2024-08-08 13:52:36 +01:00
e2cd4531e8 Update spellfile 2024-07-23 12:11:01 +01:00
044684f616 Use jk in insert mode to switch back to visual
...mode
2024-07-23 12:10:13 +01:00
733f59570e Update Telescope mappings 2024-07-20 12:53:55 +01:00
2e5f676608 Enable spell checking within rst files 2024-07-20 12:31:07 +01:00
070b686d48 Add keymap for lsp_document_symbols 2024-07-17 19:56:12 +01:00
69fbc9f97f telescope: search all files
Even those in `.gitignore`.
2024-07-12 14:27:35 +01:00
40c873756c Ensure my custom keymaps are loaded 2024-07-10 02:10:58 +01:00
fb3206fe12 Add comment 2024-07-10 02:10:09 +01:00
3c2810f1eb Refactor git commit filetype overrides 2024-07-10 02:01:29 +01:00
856c994e21 Add a default colorcolumn 2024-07-10 02:01:24 +01:00
9f80f12f48 Add keymaps for showing buffers and keymaps with
...Telescope
2024-07-10 02:01:09 +01:00
02dd935511 Fix paths 2024-07-10 02:01:00 +01:00
70c8eade7c cssls: exclude @tailwind and @apply at rule
...diagnostic errors
2024-07-09 19:54:45 +01:00
c0d156f728 Use the scss filetype for .pcss files
While `.pcss` files contain PostCSS code, the `scss` filetype gives
better syntax highlighting than the standard `css` one.
2024-07-09 18:36:47 +01:00
690e61ee5e Refactor to use format_on_save instead of a
...custom autocmd
2024-07-08 16:37:49 +01:00
79afe5b876 Don't use the LSP as a fallback when formatting 2024-07-08 16:35:33 +01:00
212875603b Revert "Update to Neovim 0.10 via nixpkgs-unstable"
This reverts commit 38fc21d38a.
2024-07-08 10:50:02 +01:00
ed2da4114e Update flake dependencies 2024-07-08 09:27:00 +01:00
d16cfae1b1 Refactor LSP and Telescope configuration 2024-07-06 15:23:28 +01:00
38fc21d38a Update to Neovim 0.10 via nixpkgs-unstable 2024-07-06 15:23:28 +01:00