Commit graph

100 commits

Author SHA1 Message Date
Oliver Davies 6aad5c6f54 chore(nvim): reduce the character width in ZenMode 2022-01-20 15:57:50 +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
Oliver Davies cf6647658d feat(nvim): add refactoring.nvim plugin 2022-01-13 00:23:36 +00:00
Oliver Davies 41eb8f6c71 refactor(nvim): rename luasnip to l 2022-01-13 00:18:02 +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 9b4f4b2a7b feat(nvim): add rst snippets
Refs: #23
2022-01-12 13:44:24 +00:00
Oliver Davies 1c1eb68233 feat(nvim): re-add sumneko_lua LSP 2022-01-12 13:44:24 +00:00
Oliver Davies 3e78a62033 refactor(nvim): use key/value pairs for snippets
Refs: #23
2022-01-12 13:44:22 +00:00
Oliver Davies 65cd3def16 feat(nvim): auto re-require snippets
Refs: #23
2022-01-12 13:43:48 +00:00
Oliver Davies a44b5b092f feat(nvim): add drupalclass snip 2022-01-12 07:43:53 +00:00
Oliver Davies f6c4c6ace6 feat(nvim): configure vim-test more 2022-01-11 17:51:17 +00:00
Oliver Davies 5d64cacb8b chore(nvim): shorten paths for Neovim files 2022-01-11 07:25:20 +00:00
Oliver Davies 1a21ee9e23 refactor(nvim): move telescope.themes require 2022-01-11 00:59:53 +00:00
Oliver Davies 6cd5930a30 feat(nvim): auto reload Telescope mappings 2022-01-11 00:58:57 +00:00
Oliver Davies 269eb0db0b feat(nvim): add rustywind as a null-ls formatter 2022-01-11 00:16:52 +00:00
Oliver Davies 20402205a1 fix(nvim): follow symlinks in neovim config 2022-01-11 00:04:17 +00:00
Oliver Davies 7b4bf2f811 chore(nvim): remove duplicate mapping 2022-01-10 23:59:40 +00:00
Oliver Davies 72d42651fe chore(nvim): add lua globals 2022-01-10 22:32:28 +00:00
Oliver Davies 572557ed28
chore(nvim): use the new completion menu 2022-01-10 13:08:08 +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 7653fb0f1d fix(nvim): only load markdown snippets in md files 2022-01-10 01:30:11 +00:00
Oliver Davies 396c6f9c37 refactor(nvim): move file type snippets into ft 2022-01-10 01:30:11 +00:00
Oliver Davies 37b3f4b51b feat(nvim): add PHP diagnostics to null-ls 2022-01-10 00:43:24 +00:00
Oliver Davies 2b2bf4f277 chore(nvim): link after and autoload dirs 2022-01-09 23:24:42 +00:00
Oliver Davies 7860c3506a feat(nvim): add function to write and source files
Copied from tjdevries' config_manager repository, add a global
`save_and_exec` function that will write and source vim or lua files,
and use this within my existing `<leader>so` key mapping.
2022-01-09 23:22:04 +00:00
Oliver Davies 7d3b82884c refactor(nvim): move plugin config to the
... `after/plugin` directory
2022-01-09 23:13:42 +00:00
Oliver Davies 8cf3fed368 refactor(nvim): use fmt and shorthand variables 2022-01-09 22:48:32 +00:00
Oliver Davies 9b4fadfa28 refactor(nvim): use shorthand variables
I'm not sure if I like this, but it's less characters and seems to be
the convention with LuaSnip which will make it easier if introducing
snippets from any examples or anyone else's dotfiles.
2022-01-09 22:48:10 +00:00
Oliver Davies 0808e54b4e chore(nvim): re-enable virtual text for LSP output 2022-01-09 22:33:11 +00:00
Oliver Davies a407a9bda1 chore(nvim): enable cursorline 2022-01-09 22:29:04 +00:00
Oliver Davies 6a3c173766 refactor(nvim): use fmta for formatting 2022-01-09 22:21:49 +00:00
Oliver Davies 7d1e320c30 refactor(nvim): split snippets into separate files
Refs: #23
2022-01-09 01:09:09 +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 a4447efaa9 fix(nvim): don't require luasnip twice 2022-01-08 23:48:32 +00:00
Oliver Davies f96368921f feat(nvim): start configuring LuaSnip
Fixes: #23
2022-01-08 23:48:26 +00:00
Oliver Davies 3950a25f2e feat(nvim): add and start configuring zen-mode
Fixes: #21
2022-01-08 23:48:20 +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