Commit graph

16 commits

Author SHA1 Message Date
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 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 b6deb4cf8e chore(nvim): set global vim variable in Lua 2022-01-13 00:16:27 +00:00
Oliver Davies 66b1d7da49 chore(nvim): remove print code 2022-01-12 23:28:57 +00:00
Oliver Davies 1c1eb68233 feat(nvim): re-add sumneko_lua LSP 2022-01-12 13:44:24 +00:00
Oliver Davies 269eb0db0b feat(nvim): add rustywind as a null-ls formatter 2022-01-11 00:16:52 +00:00
Oliver Davies aa2aa7ebaf chore(nvim): start updating lsp config
Add some additional key mappings, and fix issue where the intelephense
options weren't being merged correctly.
2022-01-10 08:54:14 +00:00
Oliver Davies 02cc113c7a fix(nvim): fix incorrect bufnr parameter 2022-01-10 07:53:16 +00:00
Oliver Davies 37b3f4b51b feat(nvim): add PHP diagnostics to null-ls 2022-01-10 00:43:24 +00:00
Oliver Davies 0808e54b4e chore(nvim): re-enable virtual text for LSP output 2022-01-09 22:33:11 +00:00
Oliver Davies 7932fb1d55 fix(nvim): format files on save with null-ls 2022-01-09 00:43:46 +00:00
Oliver Davies 09f4e9092e refactor(nvim): extract variables 2022-01-09 00:41:57 +00:00
Oliver Davies 5ff925c80c style: format lua with StyLua 2022-01-09 00:41:55 +00:00
Oliver Davies f1171dbfc0 fix(nvim): fix bufnr error for now 2022-01-08 23:56:13 +00:00
Oliver Davies 8916e90050 refactor: combine with Ubuntu Provisioning repo
Combine with this repository with https://github.com/opdavies/ubuntu-provisioning
so that everything can be managed in one place, and add a role for each
piece of software.
2022-01-06 01:04:14 +00:00