49 lines
1.1 KiB
Lua
49 lines
1.1 KiB
Lua
--[[
|
|
lvim is the global options object
|
|
|
|
Linters should be
|
|
filled in as strings with either
|
|
a global executable or a path to
|
|
an executable
|
|
|
|
Ref.:https://www.lunarvim.org/configuration/01-settings.html#example-options
|
|
]]
|
|
|
|
-- general
|
|
lvim.log.level = "warn"
|
|
lvim.format_on_save = true
|
|
lvim.colorscheme = "onedarker"
|
|
|
|
-- vim options
|
|
vim.opt.wrap = true
|
|
|
|
-- keymappings [view all the defaults by pressing <leader>Lk]
|
|
lvim.leader = "space"
|
|
lvim.keys.normal_mode["<C-s>"] = ":w<cr>"
|
|
|
|
-- After changing plugin config exit and reopen LunarVim, Run :PackerInstall :PackerCompile
|
|
lvim.builtin.alpha.active = true
|
|
lvim.builtin.notify.active = true
|
|
lvim.builtin.terminal.active = true
|
|
lvim.builtin.nvimtree.setup.view.side = "left"
|
|
lvim.builtin.nvimtree.show_icons.git = 0
|
|
lvim.builtin.lualine.style = "lvim"
|
|
|
|
-- if you don't want all the parsers change this to a table of the ones you want
|
|
lvim.builtin.treesitter.ensure_installed = {
|
|
"bash",
|
|
"c",
|
|
"javascript",
|
|
"json",
|
|
"lua",
|
|
"python",
|
|
"typescript",
|
|
"css",
|
|
"rust",
|
|
"java",
|
|
"yaml",
|
|
}
|
|
|
|
lvim.builtin.treesitter.ignore_install = { "haskell" }
|
|
lvim.builtin.treesitter.highlight.enabled = true
|
|
|