Updated neovim config for v0.12
This commit is contained in:
parent
dec884da2f
commit
d3b54ea921
6 changed files with 33 additions and 26 deletions
|
|
@ -1,26 +1 @@
|
|||
--[[
|
||||
My NeoVim configuration
|
||||
--]]
|
||||
|
||||
-- Plugins
|
||||
vim.pack.add({"https://github.com/lewis6991/gitsigns.nvim"})
|
||||
|
||||
-- nvim-tree recommends disabling netrw (vim’s 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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue