Commit graph

135 commits

Author SHA1 Message Date
1a0707910e fix(nvim): treesitter paths 2022-10-03 21:33:14 +01:00
85db57210d feat(nvim): add rnix LSP for Nix files 2022-10-03 17:47:17 +01:00
7039451cef
feat(nvim): add tpope/vim-abolish 2022-09-25 22:15:26 +01:00
7e935b12c0 feat(nvim): improve C-d and C-u mappings
Move up or down by half a page but also automatically re-center the
screen so that the cursor is always within a consistent positiion.
2022-09-01 22:01:42 +01:00
8466a81183 chore(nvim): remove ununsed plugins 2022-09-01 22:01:15 +01:00
976045d1ca feat(nvim): add nvim-treesitter-context 2022-09-01 21:58:44 +01:00
cf0a317b23 chore(nvim): add keymap to format text
Add a keymap within the LSP client to format the text rather than
automatically formatting it on save.
2022-09-01 18:50:50 +01:00
14b6d80507 chore(nvim): remove auto-formatting 2022-09-01 18:50:32 +01:00
351c4d7814 fix(nvim): replace resolved_capabilities
Replace the deprecated `client.resolved_capabilities` with
`client.server_capabilities`
2022-09-01 18:49:10 +01:00
66b491395d style(nvim): run stylua 2022-08-18 00:09:53 +01:00
2cee68f31d feat(nvim): add HTTP client plugin
I went to GitHub to find a HTTP client plugin that I could use to
replace Postman, and found https://github.com/rest-nvim/rest.nvim.

It seems to work well. Thanks @NTBBloodbath!
2022-08-18 00:09:53 +01:00
436c3d4b1f chore(nvim): specify TreeSitter languages 2022-08-16 16:00:44 +01:00
7c9c7d4815 fix(nvim): add missing edit_zsh function 2022-08-16 13:07:44 +01:00
f4f8db99d1 chore(nvim): disable current line blame 2022-08-16 13:05:35 +01:00
79e92712a4 feat(nvim): add markdown-preview.nvim 2022-08-14 10:15:13 +01:00
77df19c9bb refactor(neovim): remove floaterm 2022-08-14 10:15:13 +01:00
Oliver Davies
ae37bcdc9d feat(nvim): add mappings to move lines
Fixes 
2022-08-09 15:24:04 +01:00
ea62e712fd feat(nvim): add Git worktree plugin 2022-08-06 01:14:27 -04:00
5000deb8b0 chore(nvim): update LSP configuration and mappings 2022-08-06 06:11:42 +01:00
2a766fd148 feat(nvim): add iamcco/markdown-preview.nvim 2022-08-06 06:11:40 +01:00
c20c790e67 feat(nvim): configure lir 2022-08-06 06:10:12 +01:00
92496c1253 feat(nvim): add text object plugins 2022-08-06 06:09:46 +01:00
f8e0075019 fix(nvim): don't error on first load
Don't error on the first load before any plugins have been installed.
2022-07-13 11:04:09 +01:00
6dc90947a5 feat(nvim): only show cursorline on active buffer 2022-07-13 11:04:09 +01:00
6b70074004 feat(nvim): show git blame on current line 2022-07-13 11:04:09 +01:00
7f2b1d985a chore(nvim): move DAP UI panes 2022-07-13 11:04:09 +01:00
19f1820a2a fix(nvim): fix treesitter error
Change from the old `maintained` value to `all` for now, and later
specify a list of which languages I want to use.
2022-07-12 10:51:41 +01:00
c9b22f2983 feat(nvim): add tabline.vim 2022-07-11 13:59:35 +01:00
ba15cf763d chore(nvim): configure DAP for Xdebug 2022-07-07 19:57:32 +01:00
d3402db56b feat(nvim): add vim-dadbod, UI, and completion 2022-06-27 19:48:30 +01:00
b71b89323d feat(nvim): automatically resize panes 2022-06-21 22:52:24 +01:00
0eebf0709f feat(nvim): add dap and dap-ui 2022-06-20 22:51:07 +01:00
8f3f97cf90 chore(nvim): update plugins 2022-06-15 11:48:02 +01:00
dc695c56b4 feat(nvim): add junegunn/vim-easy-align 2022-06-08 08:50:26 +01:00
b94e7267ce feat(nvim): add drupalclass snippet
Add a new `drupalclass` snippet for Luasnip that scaffolds a new PHP
class that's opinionated for Drupal applications.

The class name is based on the filename (minus the file extension) and
the namespace is generated automatically from the directory structure
based on the location of the `src` directory.

It also includes the `Tests` entry within the namespace if the file is
witin a `tests` directory.
2022-06-02 22:50:01 +01:00
aa6a4a6219
feat(nvim): configure winbar
Show the path for each file in the top-right of each split.
2022-05-25 08:52:57 +01:00
5e81f42460 fix(nvim): fix LSP code reference mapping 2022-05-13 19:42:05 +01:00
0926ae9671 feat(nvim): add Treesitter text objects 2022-05-11 10:04:33 +01:00
6b8bb7daf2 feat(nvim): add Telescope default mappings
Add an insert mode mapping for `which_key` and also one for insert and
normal mode for toggling the previewer.
2022-05-03 09:08:50 +01:00
5b162e7241 chore(nvim): update Telescope config and mappings 2022-05-03 08:57:23 +01:00
9a580ff1cd chore(nvim): be more consistent with imap usage 2022-05-03 08:56:44 +01:00
6c6b428883 fix(nvim): typo in JS snippets 2022-04-25 08:10:57 +01:00
dc3c39fbdf fix(neovim): autocomplete with nvim-cmp
Update nvim-cmp mappings configuration following the recent breaking
changes.
2022-04-20 22:50:27 +01:00
b462bad90f chore(nvim): configure diagnostics output
Configure the output for LSP diagnostics, including null-ls.
2022-04-16 23:08:46 +01:00
2c86539313 feat(nvim): add mapping to go to implementation 2022-04-16 23:07:24 +01:00
591cf8224f fix(nvim): update LuaSnip configuration
Fixes: 
2022-04-12 23:15:01 +01:00
5f4fb07631 fix(nvim): Tailwind completion in html.twig files
Whilst `twig` files are enabled by default, `html.twig` files aren't so
these need to be added as an additional filetype for LSP to work.

For completion, `html.twig` also needs to be added as a custom user
language, mapping to the `html` type.

Fixes: 
2022-04-09 00:24:11 +01:00
798e753cc5 chore(nvim): change sorting in file browser 2022-04-07 00:29:54 +01:00
5a3fab8f53 feat(nvim): add vmap for visual mode mappings 2022-04-05 09:32:47 +01:00
96a532a501 feat(nvim): use vimux when running tests 2022-04-05 09:32:20 +01:00