dotfiles/home/private_dot_config/lvim/config.lua
2022-04-29 10:37:55 -05:00

46 lines
1.1 KiB
Lua

require("plugins")
require("keybindings")
-- general
lvim.log.level = "warn"
lvim.format_on_save = false
-- After changing plugin config exit and reopen LunarVim, Run :PackerInstall :PackerCompile
lvim.builtin.notify.active = true
lvim.builtin.terminal.active = true
lvim.builtin.nvimtree.setup.view.side = "left"
lvim.builtin.nvimtree.show_icons.git = 0
-- if you don't want all the parsers change this to a table of the ones you want
lvim.builtin.treesitter.ensure_installed = {
"bash",
-- "javascript",
"json",
"lua",
"python",
-- "typescript",
"css",
-- "rust",
"yaml",
"go"
}
lvim.builtin.treesitter.highlight.enabled = true
-- colorscheme
lvim.builtin.lualine.options.theme = "catppuccin"
lvim.colorscheme = "catppuccin"
-- settings
local opt = vim.opt
opt.timeoutlen = 200
opt.cmdheight = 1
lvim.autocommands.custom_groups = {
-- On entering insert mode in any file, scroll the window so the cursor line is centered
{"InsertEnter", "*", ":normal zz"},
-- Auto disbale spell checking on buffer open
{"BufNewFile,BufReadPost,FilterReadPost,FileReadPost","*",":set nospell"},
}