dotfiles/configfile/nvim/lua/custom/chadrc.lua

52 lines
1.4 KiB
Lua
Raw Normal View History

2022-02-14 20:37:02 +00:00
-- IMPORTANT NOTE : This is the user config, can be edited. Will be preserved if updated with internal updater
-- This file is for NvChad options & tools, custom settings are split between here and 'lua/custom/init.lua'
local M = {}
local userPlugins = require "custom.plugins"
2022-02-14 20:37:02 +00:00
M.options = {
-- relativenumber = true,
smarttab = true
}
M.ui = {
2022-02-15 20:35:26 +00:00
theme = "tokyonight"
2022-02-14 20:37:02 +00:00
}
-- NvChad included plugin options & overrides
M.plugins = {
options = {
statusline = {
separator_style = "slant",
2022-02-14 20:37:02 +00:00
}
-- lspconfig = {
-- path of file containing setups of different lsps (ex : "custom.plugins.lspconfig"), read the docs for more info
-- setup_lspconf = "",
-- },
},
-- To change the Packer `config` of a plugin that comes with NvChad,
-- add a table entry below matching the plugin github name
-- '-' -> '_', remove any '.lua', '.nvim' extensions
-- this string will be called in a `require`
-- use "(custom.configs).my_func()" to call a function
-- use "custom.blankline" to call a file
--default_plugin_config_replace = {},
override = {},
remove = {},
user = userPlugins,
2022-02-14 20:37:02 +00:00
}
M.mappings = {
-- custom = {}, -- custom user mappings
custom = {
2022-02-14 20:37:02 +00:00
cheatsheet = "<leader>ch",
line_number_toggle = "<leader>n", -- toggle line number
update_nvchad = "<leader>uu",
new_tab = "<leader>t",
2022-02-14 20:37:02 +00:00
},
}
return M