Oliver Davies
dc695c56b4
feat(nvim): add junegunn/vim-easy-align
2022-06-08 08:50:26 +01:00
Oliver Davies
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
Oliver Davies
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
Oliver Davies
5e81f42460
fix(nvim): fix LSP code reference mapping
2022-05-13 19:42:05 +01:00
Oliver Davies
0926ae9671
feat(nvim): add Treesitter text objects
2022-05-11 10:04:33 +01:00
Oliver Davies
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
Oliver Davies
5b162e7241
chore(nvim): update Telescope config and mappings
2022-05-03 08:57:23 +01:00
Oliver Davies
9a580ff1cd
chore(nvim): be more consistent with imap
usage
2022-05-03 08:56:44 +01:00
Oliver Davies
b462bad90f
chore(nvim): configure diagnostics output
...
Configure the output for LSP diagnostics, including null-ls.
2022-04-16 23:08:46 +01:00
Oliver Davies
2c86539313
feat(nvim): add mapping to go to implementation
2022-04-16 23:07:24 +01:00
Oliver Davies
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 : #25
2022-04-09 00:24:11 +01:00
Oliver Davies
798e753cc5
chore(nvim): change sorting in file browser
2022-04-07 00:29:54 +01:00
Oliver Davies
5a3fab8f53
feat(nvim): add vmap
for visual mode mappings
2022-04-05 09:32:47 +01:00
Oliver Davies
96a532a501
feat(nvim): use vimux when running tests
2022-04-05 09:32:20 +01:00
Oliver Davies
6c95ee5d4f
chore(nvim): add leader before mappings
2022-04-03 21:43:56 +01:00
Oliver Davies
f29785c491
feat(nvim): add new plugins
2022-03-31 01:13:30 +01:00
Oliver Davies
ddfdccde97
feat(nvim): add treesitter playground
2022-03-31 01:11:46 +01:00
Oliver Davies
b96ce389a9
feat(nvim): add LSP signature
2022-03-30 23:18:37 +01:00
Oliver Davies
54397bc899
feat(nvim): mappings to add trailing characters
...
Add mappings to add a trailing comma or semicolon to the end of the current line from insert mode.
2022-03-30 14:11:30 +01:00
Oliver Davies
14ebc86df5
feat(nvim): use the new global status line
2022-03-23 19:36:57 +00:00
Oliver Davies
903a36451d
style(nvim): run stylua
2022-03-23 19:36:54 +00:00
Oliver Davies
bc4e9b7952
feat(nvim): make req
work with dots
2022-03-23 19:36:35 +00:00
Oliver Davies
f50019dc19
feat(nvim): use express_line.nvim
2022-03-16 21:28:47 +00:00
Oliver Davies
f11372b550
chore(nvim): no hidden buffers
2022-03-02 19:41:17 +00:00
Oliver Davies
8f64d2773d
feat(nvim): add kazhala/close-buffers.nvim
2022-03-02 19:39:39 +00:00
Oliver Davies
9b3ca342f8
fix(nvim): mapping error which stops me typing 'K'
2022-02-28 21:58:41 +00:00
Oliver Davies
314d254069
feat(nvim): add nvim-notify
2022-02-16 08:26:21 +00:00
Oliver Davies
f6578a821a
feat(nvim): add a snippet for pcall
...
Useful when adding configuration files for new plugins.
2022-02-16 08:18:32 +00:00
Oliver Davies
251af8a126
feat(nvim): add fidget.nvim
2022-02-16 08:17:53 +00:00
Oliver Davies
143ad94abf
feat(nvim): add neogit
2022-02-16 08:03:16 +00:00
Oliver Davies
d2ff1cb546
feat(nvim): add lir.nvim
2022-02-16 07:59:33 +00:00
Oliver Davies
06664fda41
feat: update luasnip configuration
2022-02-10 10:02:08 +00:00
Oliver Davies
89400c9167
refactor(nvim): Telescope key bindings
2022-02-02 17:10:51 +00:00
Oliver Davies
5ea401884e
refactor(nvim): be consistent with casing
2022-01-30 19:49:37 +00:00
Oliver Davies
49c6254fe1
refactor(nvim): LSP configuration
2022-01-29 00:57:02 +00:00
Oliver Davies
55f899b7ae
Revert "nvim: fold everything by default"
...
This reverts commit 79a2687fcf
.
2022-01-29 00:51:36 +00:00
Oliver Davies
f31dd3327f
chore(nvim): don't wrap by default
2022-01-29 00:51:36 +00:00
Oliver Davies
494fbd5a4a
chore(nvim): remove auto-pairs plugin
2022-01-29 00:00:08 +00:00
Oliver Davies
0a574a8164
refactor(nvim): remove unused local
2022-01-21 13:14:39 +00:00
Oliver Davies
a30c771054
feat(nvim): add nvim-lua/lsp-status.nvim
2022-01-20 23:56:02 +00:00
Oliver Davies
93e329a60b
chore(nvim): add a local for use
2022-01-20 23:54:21 +00:00
Oliver Davies
9e8b13a760
feat(nvim): add lualine
2022-01-20 15:57:25 +00:00
Oliver Davies
776772a952
chore(nvim): disable auto-formatting
...
This is tricky when working on projects that use different formatting
and coding styles (e.g. Drupal and Symfony), and on projects that
haven't had code formatting run on them before and making a small change
causes a large number of changes to be staged.
I'll experiment with formatting code within a range, or toggling
auto-formatting per project. Maybe something similar to what @wincent
showed in https://youtu.be/ifA8iw42vwI .
2022-01-20 15:50:52 +00:00
Oliver Davies
44e7add133
refactor(nvim): remove unused local
2022-01-20 15:47:44 +00:00
Oliver Davies
2730c21433
chore(nvim): use ivy theme for file browser
2022-01-20 15:44:33 +00:00
Oliver Davies
75c8e6e5b1
fix(nvim): update file_browser command
2022-01-14 23:47:04 +00:00
Oliver Davies
6b8e3a8c59
feat(nvim): re-add Telescope file browser
2022-01-13 01:04:11 +00:00
Oliver Davies
c7a0954051
chore(nvim): disable formatting for now for PHP
2022-01-13 01:00:01 +00:00
Oliver Davies
cd67d3800c
chore(nvim): update keymaps for diagnostics
2022-01-13 00:37:05 +00:00
Oliver Davies
a4db5be33f
fix(nvim): change sorting strategy when grepping
2022-01-13 00:32:16 +00:00