dotfiles/.config/nvim/init.lua

33 lines
727 B
Lua

require("keybindings")
-- Install lazy.nvim plugin manager
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable",
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup("plugins")
--- THEMING ---
require("theming")
-- Source CoC configuration
--vim.cmd("source ~/.config/nvim/coc.vim")
-- Advertise 256 colors capability (for tmux)
vim.t_Co = 256
-- Undocumented ???
--vim.&t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
--vim.&t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
require("options")
require("custom-args")