dotfiles/neovim/init.lua
2026-02-13 22:25:08 +00:00

23 lines
516 B
Lua
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--[[
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