Updated neovim config for v0.12

This commit is contained in:
Jonny Barnes 2026-05-31 20:33:23 +01:00
commit d3b54ea921
No known key found for this signature in database
6 changed files with 33 additions and 26 deletions

View file

@ -1,26 +1 @@
--[[
My NeoVim configuration
--]]
-- Plugins
vim.pack.add({"https://github.com/lewis6991/gitsigns.nvim"})
-- nvim-tree recommends disabling netrw (vims file explorer)
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
vim.pack.add({"https://github.com/nvim-tree/nvim-tree.lua"})
require("nvim-tree").setup()
-- Editor options
-- show line numbers
vim.opt.number = true
-- set spelling to British English
vim.opt.spelllang = 'en_gb'
vim.opt.spell = true
-- 24-bit colour support
vim.opt.termguicolors = true
-- LSP/PHP setup
vim.lsp.enable('phpactor')
require('config')