Commit graph

75 commits

Author SHA1 Message Date
Oliver Davies fa03fbd4cd feat(nvim): add kyazdani42/nvim-web-devicons
This will add icons to the results list when searching for things with
Telescope.
2021-11-17 12:54:55 +00:00
Oliver Davies 0dfeb542fe feat(nvim): telescope configuration 2021-11-17 12:54:18 +00:00
Oliver Davies 0786ed3b3d chore: move plugin config files into after
Move the nvim configuration files into `.config/nvim/after/plugin` so
that they are autoloaded.

This also means that the local `init` functions can be removed as they
are no longer needed, and this also simplifies the Packer configuration.
2021-11-17 09:42:17 +00:00
Oliver Davies daa92fa662 feat(nvim): add vimwiki 2021-11-11 18:08:42 +00:00
Oliver Davies 7247d57e65 fix(nvim): remove vue filetype for typescript 2021-11-11 18:08:42 +00:00
Oliver Davies 638c058642 chore(nvim): add transparency to the popup menu 2021-11-09 18:01:39 +00:00
Oliver Davies 7b756e570a refactor(nvim): restructure lua configuration 2021-11-07 20:38:20 +00:00
Oliver Davies 20bc33046c nvim: group vim.cmd commands 2021-11-04 00:18:03 +00:00
Oliver Davies 78513b1154 nvim: re-add old mapping to remove hlsearch 2021-11-03 23:42:21 +00:00
Oliver Davies 514e4ad061 nvim: show virtual text for LSP 2021-11-03 00:05:02 +00:00
Oliver Davies fc56046ec3 nvim: remove mattn/emmet-vim 2021-11-03 00:05:02 +00:00
Oliver Davies 9d2ce607d3 nvim: stop packer cleaning itself 2021-11-03 00:05:02 +00:00
Oliver Davies 800df5de37 refactor(nvim): add a local map function alias 2021-11-03 00:05:02 +00:00
Oliver Davies 907f01cb52
nvim: don't fold text by default 2021-11-01 13:39:16 +00:00
Oliver Davies ad7a62bfeb refactor(nvim): use packer for plugins 2021-10-30 23:12:29 +01:00
Oliver Davies 626bcd4ce4 refactor(nvim): move more settings to lua 2021-10-30 22:00:53 +01:00
Oliver Davies 396fab57da chore(nvim): clean up lsp configuration 2021-10-30 15:14:30 +01:00
Oliver Davies 506b1d3286 feat(nvim): add formatting for tabnine
Add completion formatting for the cmp_tabnine source so that its
suggestions are easily identifiable.
2021-10-30 15:14:30 +01:00
Oliver Davies 3c0d75b7e6 refactor(nvim): move vim options into lua 2021-10-30 15:14:30 +01:00
Oliver Davies d68e3ea22b feat(nvim): add harpoon 2021-10-30 15:14:30 +01:00
Oliver Davies dd24187a5d feat(nvim): enable ghost text in lsp 2021-10-30 15:14:30 +01:00
Oliver Davies e0b1365b39 feat(nvim): add norcalli/nvim-colorizer 2021-10-30 15:14:30 +01:00
Oliver Davies 1473b4da61 nvim: set colour for indent lines 2021-10-30 15:14:30 +01:00
Oliver Davies 024e24606d chore(nvim): try some different key mappings 2021-10-20 13:21:41 +01:00
Oliver Davies 9654f7d095 feat(nvim): add cmp formatting 2021-10-19 23:41:48 +01:00
Oliver Davies 6c75b2ce66 feat(nvim): add luasnip 2021-10-19 23:41:48 +01:00
Oliver Davies 685f68f70a feat(nvim): clear highlighting after search 2021-10-16 21:30:40 +01:00
Oliver Davies 957d40c6a4 fix(nvim): set php filetype for .test files 2021-10-15 23:19:21 +01:00
Oliver Davies e27a802308 feat(nvim): use italic text for comments 2021-10-15 23:09:03 +01:00
Oliver Davies aeebd343f8 refactor(nvim): extract plugins/colours.lua 2021-10-15 22:59:19 +01:00
Oliver Davies 5d80d36328 feat(nvim): add mappings for floaterm 2021-10-15 00:12:18 +01:00
Oliver Davies ba5b30b136 feat(nvim): use lewis6991/gitsigns.nvim
Replace airblade/vim-gitgutter with lewis6991/gitsigns.
2021-10-14 11:30:11 +01:00
Oliver Davies b6bca8d50f refactor(nvim): split options into their own file 2021-10-14 00:32:55 +01:00
Oliver Davies 00ffae0590 refactor(nvim): split mappings into their own file 2021-10-14 00:26:50 +01:00
Oliver Davies 1fa5e57b9b feat(nvim): add more mappings
Add key mappings for easily moving text and some small behaviour tweaks.
2021-10-14 00:26:50 +01:00
Oliver Davies b64abbfacb feat(nvim): enable mouse support 2021-10-14 00:26:49 +01:00
Oliver Davies e7d7d47ae4 feat(nvim): copy text to the system clipboard 2021-10-13 23:23:29 +01:00
Oliver Davies 18a5b3b627 style: be more consistent with lua formatting 2021-10-13 21:00:31 +01:00
Oliver Davies dedcbddc86 refactor(nvim): split lsp into setup and mappings 2021-10-13 21:00:23 +01:00
Oliver Davies ab788203db refactor(nvim): split plugin config
Split lua plugin configuration into separate files.
2021-10-13 17:54:36 +01:00
Oliver Davies 2d2a2e5490 feat(nvim): replace compe with cmp, add tabnine 2021-10-13 15:10:40 +01:00
Oliver Davies d61e4cf210 fix(nvim): lsp not running for typescript 2021-10-13 15:10:40 +01:00
Oliver Davies 28c5ae22f9 refactor(nvim): remove nvim-lspinstall
Remove the kabouzeid/nvim-lspinstall plugin and configure the language
servers in init.lua.

I don't use all of the languages bundled with nvim-lspinstall, and the
ones that I use are already installed via Ansible in my
ubuntu-provisioning repository.

Fixes #20
2021-10-13 08:57:23 +01:00
Oliver Davies 403581e9f8 nvim: remove space characters 2021-10-07 01:39:37 +01:00
Oliver Davies 62fb00e5f7 refactor(nvim): group plugins 2021-10-06 22:29:47 +01:00
Oliver Davies e06ec03cc7 fix(nvim): fix background transparency 2021-10-06 22:18:29 +01:00
Oliver Davies 4d47e5224f nvim: change plugin location 2021-10-06 18:43:19 +01:00
Oliver Davies 65097dfffe nvim: update Telescope mappings 2021-10-06 13:47:05 +01:00
Oliver Davies bd9077d277 nvim: add dracula theme 2021-10-06 07:31:53 +01:00
Oliver Davies 8b6f8037c8 nvim: change plugin location 2021-10-06 07:26:20 +01:00