dotfiles/home/private_dot_config/lvim/config.lua

47 lines
1.1 KiB
Lua
Raw Normal View History

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