Commit graph

567 commits

Author SHA1 Message Date
Oliver Davies b33bbb6d4c docs: update README 2022-01-10 22:43:41 +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 0af604c8c5 chore: add requirements.yml
Ensure that the `community.general` collections are installed.
2022-01-06 08:08:38 +00:00
Oliver Davies 95fb71cf1a chore: allow for skipping roles by tag 2022-01-06 07:26:35 +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
Oliver Davies e11cf61218 feat(nvim): add nvim-autopairs 2022-01-05 00:24:55 +00:00
Oliver Davies b80396b0dd fix(nvim): pass the buffer number as a parameter 2022-01-04 21:39:22 +00:00
Oliver Davies 1c47a51c8b nvim: disable TS indenting for YAML files 2022-01-04 21:39:22 +00:00
Oliver Davies 0d68d51ed1 feat(nvim): add a mapping for wrapping text 2022-01-04 21:39:22 +00:00
Oliver Davies 6e4a400002 feat(nvim): add null-ls for formatting 2021-12-25 22:54:11 +00:00
Oliver Davies 8bb5c9b773 fix(nvim): replace incorrect filename 2021-12-25 22:51:51 +00:00
Oliver Davies 4bede5a014 refactor(nvim): organise options.lua 2021-12-25 09:56:22 +00:00
Oliver Davies 1fe7305397 revert: set cmdheight back to 1 2021-12-25 09:55:55 +00:00
Oliver Davies e5a9ca2f61 feat(nvim): enable TreeSitter for indenting 2021-12-25 01:10:53 +00:00
Oliver Davies 4bc2eaa8ff refactor(nvim): refactor lsp configuration 2021-12-24 14:04:15 +00:00
Oliver Davies eab1a43ecd refactor(nvim): re-organise files 2021-12-24 13:36:56 +00:00
Oliver Davies 29409131ea feat(nvim): add rafamadriz/friendly-snippets 2021-12-24 00:02:10 +00:00
Oliver Davies 59055b0a2f chore(nvim): ensure that plugins are installed 2021-12-23 23:39:13 +00:00
Oliver Davies c4e0a44495
chore(nvim): remove vimwiki 2021-12-23 23:11:34 +00:00
Oliver Davies 2eb22cf317 chore(nvim): install plugins automatically
Use `PackerSync` instead of `PackerCompile` as this will both compile
and install the plugins.
2021-12-23 14:54:58 +00:00
Oliver Davies 66b1a4373a chore(nvim): ignore packer_compiled.lua 2021-12-23 14:53:29 +00:00
Oliver Davies c8ed72a611 feat(nvim): set some more options 2021-12-23 00:56:45 +00:00
Oliver Davies 88aae1b8ec feat(nvim): display Packer in a popup 2021-12-23 00:56:23 +00:00
Oliver Davies 304cffa0fa feat(zsh): ignore duplicates in history 2021-12-20 16:32:11 +00:00
Oliver Davies 79a2687fcf nvim: fold everything by default
To make it easier to remind myself that folding is a thing, for now I'm
going to enable it by default again for all files.
2021-12-17 23:31:25 +00:00
Oliver Davies 9c406d5358 nvim: set the fold level 2021-12-17 23:23:51 +00:00
Oliver Davies 2d9f2a995e chore(nvim): switch to numToStr/Comment.nvim 2021-12-04 01:33:18 +00:00
Oliver Davies 141e4f7310
fix(git): remove user information
Hopefully this stops my personal email being used for work commits.
2021-12-03 15:04:20 +00:00