reduce some LOC

This commit is contained in:
siduck 2023-01-29 23:30:13 +05:30
parent 4990b23935
commit 2ee1ada911
7 changed files with 10 additions and 53 deletions

View file

@ -1,12 +1,6 @@
return {
defaults = {
lazy = true,
},
install = {
-- try to load one of these colorschemes when starting an installation during startup
colorscheme = { "nvchad" },
},
defaults = { lazy = true },
install = { colorscheme = { "nvchad" } },
ui = {
icons = {

View file

@ -1,27 +0,0 @@
require "base46.term"
local options = {
terminals = {
list = {},
type_opts = {
float = {
relative = "editor",
row = 0.3,
col = 0.25,
width = 0.5,
height = 0.4,
border = "single",
},
horizontal = { location = "rightbelow", split_ratio = 0.3 },
vertical = { location = "rightbelow", split_ratio = 0.5 },
},
},
behavior = {
close_on_exit = true,
auto_insert = true,
},
enable_new_mappings = true,
}
options = require("core.utils").load_override(options, "NvChad/nvterm")
require("nvterm").setup(options)

View file

@ -1,18 +1,14 @@
dofile(vim.g.base46_cache .. "syntax")
local options = {
ensure_installed = {
"lua",
},
ensure_installed = { "lua" },
highlight = {
enable = true,
use_languagetree = true,
},
indent = {
enable = true,
},
indent = { enable = true },
}
-- check for any override