style(nvim): format with stylua

This commit is contained in:
Price Hiller 2023-03-02 18:28:31 -06:00
parent d565b26a8f
commit 5bec1553f0
No known key found for this signature in database
29 changed files with 221 additions and 221 deletions

View File

@ -1,3 +1,3 @@
local file_loc = vim.fn.expand('%:p:h') local file_loc = vim.fn.expand("%:p:h")
vim.opt_local.makeprg = 'docker build ' .. file_loc vim.opt_local.makeprg = "docker build " .. file_loc

View File

@ -1 +1 @@
vim.opt_local.filetype = 'gitcommit' vim.opt_local.filetype = "gitcommit"

View File

@ -1 +1 @@
vim.opt_local.filetype = 'yaml' vim.opt_local.filetype = "yaml"

View File

@ -1,10 +1,10 @@
vim.keymap.set('n', '<leader>fr', '<Plug>RestNvim', { vim.keymap.set("n", "<leader>fr", "<Plug>RestNvim", {
buffer = true, buffer = true,
}) })
vim.keymap.set('n', '<leader>fp', '<Plug>RestNvimPreview', { vim.keymap.set("n", "<leader>fp", "<Plug>RestNvimPreview", {
buffer = true, buffer = true,
}) })
vim.keymap.set('n', '<leader>fl', '<Plug>RestNvimLast', { vim.keymap.set("n", "<leader>fl", "<Plug>RestNvimLast", {
buffer = true, buffer = true,
}) })

View File

@ -1,6 +1,6 @@
vim.keymap.set('n', '<leader>fge', ':Neorg gtd edit<CR>', { vim.keymap.set("n", "<leader>fge", ":Neorg gtd edit<CR>", {
buffer = true, buffer = true,
}) })
vim.keymap.set('n', '<ledaer>fgv', ':Neorg gtd views<CR>', { vim.keymap.set("n", "<ledaer>fgv", ":Neorg gtd views<CR>", {
buffer = true, buffer = true,
}) })

View File

@ -1,13 +1,13 @@
vim.keymap.set('n', '<leader>fe', '<Plug>(sqls-execute-query)', { vim.keymap.set("n", "<leader>fe", "<Plug>(sqls-execute-query)", {
buffer = true, buffer = true,
}) })
vim.keymap.set('v', '<leader>fe', '<Plug>(sqls-execute-query)', { vim.keymap.set("v", "<leader>fe", "<Plug>(sqls-execute-query)", {
buffer = true, buffer = true,
}) })
vim.keymap.set('n', '<leader>fsd', ':SqlsSwitchDatabase<CR>', { vim.keymap.set("n", "<leader>fsd", ":SqlsSwitchDatabase<CR>", {
buffer = true, buffer = true,
}) })
vim.keymap.set('n', '<leader>fsc', ':SqlsSwitchConnection<CR>', { vim.keymap.set("n", "<leader>fsc", ":SqlsSwitchConnection<CR>", {
buffer = true, buffer = true,
}) })

View File

@ -1 +1 @@
require('main') require("main")

View File

@ -1,24 +1,24 @@
local M = {} local M = {}
M.setup = function() M.setup = function()
local disabled_built_ins = { local disabled_built_ins = {
'gzip', "gzip",
'zip', "zip",
'zipPlugin', "zipPlugin",
'tar', "tar",
'tarPlugin', "tarPlugin",
'getscript', "getscript",
'getscriptPlugin', "getscriptPlugin",
'vimball', "vimball",
'vimballPlugin', "vimballPlugin",
'2html_plugin', "2html_plugin",
'logipat', "logipat",
'rrhelper', "rrhelper",
'spellfile_plugin', "spellfile_plugin",
'matchit', "matchit",
} }
for _, plugin in pairs(disabled_built_ins) do for _, plugin in pairs(disabled_built_ins) do
vim.g['loaded_' .. plugin] = 1 vim.g["loaded_" .. plugin] = 1
end end
end end

View File

@ -4,7 +4,7 @@ M.setup = function()
vim.filetype.add({ vim.filetype.add({
pattern = { pattern = {
[".*%.dockerfile"] = "dockerfile", [".*%.dockerfile"] = "dockerfile",
[".*%.dockerignore"] = "gitignore" [".*%.dockerignore"] = "gitignore",
}, },
}) })
end end

View File

@ -3,133 +3,132 @@ local opt = vim.opt
local M = {} local M = {}
M.setup = function() M.setup = function()
-- Number settings -- Number settings
opt.number = true opt.number = true
opt.numberwidth = 2 opt.numberwidth = 2
opt.relativenumber = true opt.relativenumber = true
-- Scroll Offset -- Scroll Offset
opt.scrolloff = 3 opt.scrolloff = 3
-- Disable showmode -- Disable showmode
opt.showmode = false opt.showmode = false
-- Set truecolor support -- Set truecolor support
opt.termguicolors = true opt.termguicolors = true
-- Enable system clipboard -- Enable system clipboard
opt.clipboard = "unnamedplus" opt.clipboard = "unnamedplus"
-- Set mouse support for any mode -- Set mouse support for any mode
opt.mouse = "a" opt.mouse = "a"
-- Allow hidden -- Allow hidden
opt.hidden = true opt.hidden = true
-- Useful defaults for tab, indentation, etc. -- Useful defaults for tab, indentation, etc.
opt.tabstop = 4 opt.tabstop = 4
opt.shiftwidth = 4 opt.shiftwidth = 4
opt.smartindent = true opt.smartindent = true
opt.breakindent = true opt.breakindent = true
opt.expandtab = true opt.expandtab = true
opt.smarttab = true opt.smarttab = true
opt.shiftround = true opt.shiftround = true
-- Search settings -- Search settings
opt.hlsearch = true opt.hlsearch = true
opt.incsearch = true opt.incsearch = true
opt.ignorecase = true opt.ignorecase = true
opt.smartcase = true opt.smartcase = true
-- Better backspaces -- Better backspaces
opt.backspace = "indent,eol,start" opt.backspace = "indent,eol,start"
-- Make new splits vertical -- Make new splits vertical
opt.splitright = true opt.splitright = true
-- Show line & column num of cursor -- Show line & column num of cursor
opt.ruler = true opt.ruler = true
-- Set timeouts -- Set timeouts
opt.ttimeoutlen = 20 opt.ttimeoutlen = 20
opt.timeoutlen = 1000 opt.timeoutlen = 1000
opt.updatetime = 250 opt.updatetime = 250
opt.signcolumn = "yes" opt.signcolumn = "yes"
-- Enable persistent undo -- Enable persistent undo
opt.undodir = vim.fn.stdpath("cache") .. "/undo" opt.undodir = vim.fn.stdpath("cache") .. "/undo"
opt.undofile = true opt.undofile = true
-- Better folding -- Better folding
opt.foldexpr = "nvim_treesitter#foldexpr()" opt.foldexpr = "nvim_treesitter#foldexpr()"
opt.foldmethod = "expr" opt.foldmethod = "expr"
opt.fillchars = { eob = " ", fold = " ", foldopen = "", foldsep = " ", foldclose = "" } opt.fillchars = { eob = " ", fold = " ", foldopen = "", foldsep = " ", foldclose = "" }
opt.foldlevel = 20 opt.foldlevel = 20
vim.wo.foldexpr = "nvim_treesitter#foldexpr()" vim.wo.foldexpr = "nvim_treesitter#foldexpr()"
vim.wo.foldmethod = "expr" vim.wo.foldmethod = "expr"
-- Concealment for nicer rendering -- Concealment for nicer rendering
opt.conceallevel = 2 opt.conceallevel = 2
opt.concealcursor = "ic" opt.concealcursor = "ic"
-- Cursor line highlight -- Cursor line highlight
opt.cursorline = true opt.cursorline = true
-- Disable lazy redraw to interact with plugins better -- Disable lazy redraw to interact with plugins better
opt.lazyredraw = false opt.lazyredraw = false
-- Spell Settings -- Spell Settings
opt.spelllang = { "en_us" } opt.spelllang = { "en_us" }
-- Better completion experience -- Better completion experience
opt.completeopt = "menuone,noselect" opt.completeopt = "menuone,noselect"
-- Set max text width -- Set max text width
opt.textwidth = 120 opt.textwidth = 120
-- Make statusline global -- Make statusline global
opt.laststatus = 3 opt.laststatus = 3
-- Set listcharacters -- Set listcharacters
opt.list = true opt.list = true
opt.listchars:append("tab:-->") opt.listchars:append("tab:-->")
opt.listchars:append("lead:⋅") opt.listchars:append("lead:⋅")
opt.listchars:append("trail:·") opt.listchars:append("trail:·")
opt.listchars:append("extends:◣") opt.listchars:append("extends:◣")
opt.listchars:append("precedes:◢") opt.listchars:append("precedes:◢")
opt.listchars:append("nbsp:○") opt.listchars:append("nbsp:○")
-- Set fillchars -- Set fillchars
vim.opt.fillchars:append({ vim.opt.fillchars:append({
horiz = "", horiz = "",
horizup = "", horizup = "",
horizdown = "", horizdown = "",
vert = "", vert = "",
vertleft = "", vertleft = "",
vertright = "", vertright = "",
verthoriz = "", verthoriz = "",
}) })
-- Remove end of boundry '~' -- Remove end of boundry '~'
opt.fillchars:append("eob: ") opt.fillchars:append("eob: ")
-- Allow vim to get settings from file -- Allow vim to get settings from file
opt.modeline = true opt.modeline = true
opt.modelines = 5 opt.modelines = 5
-- Set command bar height -- Set command bar height
opt.cmdheight = 1 opt.cmdheight = 1
-- Set splitkeep -- Set splitkeep
vim.opt.splitkeep = "screen" vim.opt.splitkeep = "screen"
-- Hide the tabline -- Hide the tabline
vim.opt.showtabline = 0 vim.opt.showtabline = 0
-- Improved diff
opt.diffopt:append("linematch:75")
opt.fillchars:append("diff:")
-- Improved diff
opt.diffopt:append("linematch:75")
opt.fillchars:append("diff:")
end end
return M return M

View File

@ -1,22 +1,22 @@
local M = {} local M = {}
M.winbar = function() M.winbar = function()
local win_number = '[' .. vim.api.nvim_win_get_number(0) .. ']' local win_number = "[" .. vim.api.nvim_win_get_number(0) .. "]"
local ignore_fts = { local ignore_fts = {
'neo-tree', "neo-tree",
'dashboard', "dashboard",
'alpha', "alpha",
} }
for _, ft in ipairs(ignore_fts) do for _, ft in ipairs(ignore_fts) do
if ft == vim.bo.filetype then if ft == vim.bo.filetype then
return win_number .. ' ' .. ft return win_number .. " " .. ft
end end
end end
local relative_path = vim.fn.fnamemodify(vim.fn.expand('%:h'), ':p:~:.') local relative_path = vim.fn.fnamemodify(vim.fn.expand("%:h"), ":p:~:.")
local filename = vim.fn.expand('%:t') local filename = vim.fn.expand("%:t")
return win_number .. '' .. relative_path .. filename return win_number .. "" .. relative_path .. filename
end end
M.setup = function() M.setup = function()

View File

@ -4,13 +4,13 @@
-- INFO: SHOULD have a init.lua file associated with them. -- INFO: SHOULD have a init.lua file associated with them.
-- INFO: init.lua is responsible for loading all configuration -- INFO: init.lua is responsible for loading all configuration
-- INFO: related to that directory. -- INFO: related to that directory.
require('core.init') require("core.init")
require('plugins.init') require("plugins.init")
-- INFO: Post load, for things that need to setup keybindings etc after the fact -- INFO: Post load, for things that need to setup keybindings etc after the fact
-- --
-- NOTE: All postload modules should be independent of each other, they shouldn't -- NOTE: All postload modules should be independent of each other, they shouldn't
-- NOTE: rely on each other's load order. That type of logic should be shifted -- NOTE: rely on each other's load order. That type of logic should be shifted
-- NOTE: into non-postload regions then handled in postload modules. -- NOTE: into non-postload regions then handled in postload modules.
require('plugins.postload') require("plugins.postload")
require('core.postload') require("core.postload")

View File

@ -1,39 +1,39 @@
local neorg = require('neorg') local neorg = require("neorg")
neorg.setup({ neorg.setup({
load = { load = {
['core.defaults'] = {}, ["core.defaults"] = {},
['core.norg.concealer'] = {}, ["core.norg.concealer"] = {},
['core.norg.esupports.metagen'] = { ["core.norg.esupports.metagen"] = {
config = { config = {
type = 'auto', type = "auto",
}, },
}, },
['core.integrations.nvim-cmp'] = { ["core.integrations.nvim-cmp"] = {
config = {}, config = {},
}, },
['core.norg.completion'] = { ["core.norg.completion"] = {
config = { config = {
engine = 'nvim-cmp', engine = "nvim-cmp",
}, },
}, },
['core.keybinds'] = { ["core.keybinds"] = {
config = { config = {
default_keybinds = true, default_keybinds = true,
-- norg_leader = "-" -- norg_leader = "-"
}, },
}, },
['core.norg.dirman'] = { ["core.norg.dirman"] = {
config = { config = {
workspaces = { workspaces = {
default = '~/.notes', -- Format: <name_of_workspace> = <path_to_workspace_root> default = "~/.notes", -- Format: <name_of_workspace> = <path_to_workspace_root>
}, },
autochdir = true, -- Automatically change the directory to the current workspace's root every time autochdir = true, -- Automatically change the directory to the current workspace's root every time
index = 'index.norg', -- The name of the main (root) .norg file index = "index.norg", -- The name of the main (root) .norg file
last_workspace = vim.fn.stdpath('cache') .. '/neorg_last_workspace.txt', -- The location to write and read the workspace cache file last_workspace = vim.fn.stdpath("cache") .. "/neorg_last_workspace.txt", -- The location to write and read the workspace cache file
}, },
}, },
['core.integrations.telescope'] = {}, ["core.integrations.telescope"] = {},
['core.norg.qol.toc'] = {}, ["core.norg.qol.toc"] = {},
}, },
}) })

View File

@ -1,18 +1,18 @@
require('stabilize').setup({ require("stabilize").setup({
-- stabilize window even when current cursor position will be hidden behind new window -- stabilize window even when current cursor position will be hidden behind new window
force = true, force = true,
-- set context mark to register on force event which can be jumped to with '<forcemark> -- set context mark to register on force event which can be jumped to with '<forcemark>
forcemark = nil, forcemark = nil,
-- do not manage windows matching these file/buftypes -- do not manage windows matching these file/buftypes
ignore = { ignore = {
filetype = { 'packer', 'Dashboard', 'Trouble', 'TelescopePrompt' }, filetype = { "packer", "Dashboard", "Trouble", "TelescopePrompt" },
buftype = { buftype = {
'packer', "packer",
'Dashboard', "Dashboard",
'terminal', "terminal",
'quickfix', "quickfix",
'loclist', "loclist",
'LspInstall', "LspInstall",
}, },
}, },
-- comma-separated list of autocmds that wil trigger the plugins window restore function -- comma-separated list of autocmds that wil trigger the plugins window restore function

View File

@ -1,9 +1,9 @@
local fn = vim.fn local fn = vim.fn
require('dapui').setup({}) require("dapui").setup({})
fn.sign_define('DapBreakpoint', { text = '', texthl = 'DiagnosticSignError', linehl = '', numhl = '' }) fn.sign_define("DapBreakpoint", { text = "", texthl = "DiagnosticSignError", linehl = "", numhl = "" })
fn.sign_define('DapBreakpointCondition', { text = '', texthl = 'DiagnosticSignWarn', linehl = '', numhl = '' }) fn.sign_define("DapBreakpointCondition", { text = "", texthl = "DiagnosticSignWarn", linehl = "", numhl = "" })
fn.sign_define('DapLogPoint', { text = '', texthl = 'DiagnosticSignInfo', linehl = '', numhl = '' }) fn.sign_define("DapLogPoint", { text = "", texthl = "DiagnosticSignInfo", linehl = "", numhl = "" })
fn.sign_define('DapStopped', { text = '', texthl = 'DiagnosticSignWarn', linehl = '', numhl = '' }) fn.sign_define("DapStopped", { text = "", texthl = "DiagnosticSignWarn", linehl = "", numhl = "" })
fn.sign_define('DapBreakpointReject', { text = '', texthl = 'DiagnosticSignHint', linehl = '', numhl = '' }) fn.sign_define("DapBreakpointReject", { text = "", texthl = "DiagnosticSignHint", linehl = "", numhl = "" })

View File

@ -1,4 +1,4 @@
local nvim_tree = require('nvim-tree.configs') local nvim_tree = require("nvim-tree.configs")
nvim_tree.setup({ nvim_tree.setup({
highlight = { highlight = {
@ -6,8 +6,8 @@ nvim_tree.setup({
additional_vim_regex_highlighting = true, additional_vim_regex_highlighting = true,
disable = { disable = {
-- Ansible support reasons -- Ansible support reasons
'ansible.yaml', "ansible.yaml",
'yaml.ansible' "yaml.ansible",
}, },
}, },
matchup = { matchup = {

View File

@ -1,14 +1,13 @@
local hydra = require("hydra") local hydra = require("hydra")
local wk = require("which-key") local wk = require("which-key")
wk.register( wk.register({
{ h = { h = {
name = "Hydra", name = "Hydra",
o = { "Options" }, o = { "Options" },
g = { "Git Signs" }, g = { "Git Signs" },
d = { "Diagram" }, d = { "Diagram" },
} }, },
{ prefix = "<leader>" } }, { prefix = "<leader>" })
)
-- Side Scroll -- Side Scroll
hydra({ hydra({
@ -135,7 +134,7 @@ hydra({
^ ^ _K_ ^ ^ _f_: surround it with box ^ ^ _K_ ^ ^ _f_: surround it with box
_H_ ^ ^ _L_ _H_ ^ ^ _L_
^ ^ _J_ ^ ^ _<Esc>_ ^ ^ _J_ ^ ^ _<Esc>_
]] , ]],
config = { config = {
color = "pink", color = "pink",
invoke_on_body = true, invoke_on_body = true,
@ -174,7 +173,7 @@ hydra({
_r_ %{rnu} relative number _r_ %{rnu} relative number
^ ^
^^^^ _<Esc>_ ^^^^ _<Esc>_
]] , ]],
config = { config = {
color = "amaranth", color = "amaranth",
invoke_on_body = true, invoke_on_body = true,

View File

@ -16,7 +16,7 @@ g.indent_blankline_filetype_exclude = {
"man", "man",
"OverseerForm", "OverseerForm",
"noice", "noice",
"lazy" "lazy",
} }
g.indent_blankline_buftype_exclude = { "terminal" } g.indent_blankline_buftype_exclude = { "terminal" }

View File

@ -120,7 +120,7 @@ require("kanagawa").setup({
NoiceCmdlinePopupdBorderIncRename = { fg = colors.peachRed }, NoiceCmdlinePopupdBorderIncRename = { fg = colors.peachRed },
Folded = { bg = colors.waveBlue1 }, Folded = { bg = colors.waveBlue1 },
UfoFoldedBg = { bg = "NONE" } UfoFoldedBg = { bg = "NONE" },
}, },
}) })

View File

@ -348,7 +348,7 @@ vim.api.nvim_create_autocmd("FileType", {
cmd = { lsp_server_bin_dir .. "nginx-language-server" }, cmd = { lsp_server_bin_dir .. "nginx-language-server" },
root_dir = vim.fn.getcwd(), root_dir = vim.fn.getcwd(),
capabilities = lsp_capabilities, capabilities = lsp_capabilities,
on_attach = on_attach on_attach = on_attach,
}) })
if client_id then if client_id then

View File

@ -1,9 +1,9 @@
local null_ls = require('null-ls') local null_ls = require("null-ls")
null_ls.setup({ null_ls.setup({
sources = { sources = {
null_ls.builtins.formatting.shfmt.with({ null_ls.builtins.formatting.shfmt.with({
extra_args = { '-i 4' }, extra_args = { "-i 4" },
}), }),
null_ls.builtins.diagnostics.shellcheck, null_ls.builtins.diagnostics.shellcheck,
null_ls.builtins.code_actions.shellcheck, null_ls.builtins.code_actions.shellcheck,

View File

@ -1,34 +1,34 @@
require("notify").setup({ require("notify").setup({
-- Animation style (see below for details) -- Animation style (see below for details)
stages = "fade_in_slide_out", stages = "fade_in_slide_out",
-- Function called when a new window is opened, use for changing win settings/config -- Function called when a new window is opened, use for changing win settings/config
on_open = nil, on_open = nil,
-- Function called when a window is closed -- Function called when a window is closed
on_close = nil, on_close = nil,
-- Render function for notifications. See notify-render() -- Render function for notifications. See notify-render()
render = "default", render = "default",
-- Default timeout for notifications -- Default timeout for notifications
timeout = 5000, timeout = 5000,
-- For stages that change opacity this is treated as the highlight behind the window -- For stages that change opacity this is treated as the highlight behind the window
-- Set this to either a highlight group, an RGB hex value e.g. "#000000" or a function returning an RGB code for dynamic values -- Set this to either a highlight group, an RGB hex value e.g. "#000000" or a function returning an RGB code for dynamic values
background_colour = "#000000", background_colour = "#000000",
-- Minimum width for notification windows -- Minimum width for notification windows
minimum_width = 50, minimum_width = 50,
-- Icons for the different levels -- Icons for the different levels
icons = { icons = {
ERROR = "", ERROR = "",
WARN = "", WARN = "",
INFO = "", INFO = "",
DEBUG = "", DEBUG = "",
TRACE = "", TRACE = "",
}, },
}) })
-- vim.notify = require('notify') -- vim.notify = require('notify')

View File

@ -22,7 +22,7 @@ local handler = function(virtText, lnum, endLnum, width, truncate)
else else
chunkText = truncate(chunkText, targetWidth - curWidth) chunkText = truncate(chunkText, targetWidth - curWidth)
local hlGroup = chunk[2] local hlGroup = chunk[2]
table.insert(newVirtText, {chunkText, hlGroup}) table.insert(newVirtText, { chunkText, hlGroup })
chunkWidth = vim.fn.strdisplaywidth(chunkText) chunkWidth = vim.fn.strdisplaywidth(chunkText)
-- str width returned from truncate() may less than 2nd argument, need padding -- str width returned from truncate() may less than 2nd argument, need padding
if curWidth + chunkWidth < targetWidth then if curWidth + chunkWidth < targetWidth then
@ -32,13 +32,13 @@ local handler = function(virtText, lnum, endLnum, width, truncate)
end end
curWidth = curWidth + chunkWidth curWidth = curWidth + chunkWidth
end end
table.insert(newVirtText, {suffix, "@conditional"}) table.insert(newVirtText, { suffix, "@conditional" })
return newVirtText return newVirtText
end end
require("ufo").setup({ require("ufo").setup({
provider_selector = function(bufnr, filetype, buftype) provider_selector = function(bufnr, filetype, buftype)
return {"treesitter", "indent"} return { "treesitter", "indent" }
end, end,
fold_virt_text_handler = handler fold_virt_text_handler = handler,
}) })

View File

@ -105,7 +105,7 @@ lualine.setup({
{ {
"macro-recording", "macro-recording",
color = { color = {
fg = "#FF9E3B" fg = "#FF9E3B",
}, },
fmt = show_macro_recording, fmt = show_macro_recording,
}, },
@ -164,7 +164,7 @@ lualine.setup({
{ {
"macro-recording", "macro-recording",
color = { color = {
fg = "#FF9E3B" fg = "#FF9E3B",
}, },
fmt = show_macro_recording, fmt = show_macro_recording,
}, },
@ -201,8 +201,8 @@ lualine.setup({
fmt = datetime_section, fmt = datetime_section,
color = "LuaLineDateTime", color = "LuaLineDateTime",
separator = { separator = {
right = '%#lualine_transitional_lualine_b_normal_to_lualine_c_normal#' right = "%#lualine_transitional_lualine_b_normal_to_lualine_c_normal#",
} },
}, },
}, },
lualine_y = { lualine_y = {

View File

@ -1 +1 @@
require('todo-comments').setup({}) require("todo-comments").setup({})

View File

@ -20,5 +20,5 @@ nvim_treesitter.setup({
}, },
}) })
require('treesitter-context').setup({}) require("treesitter-context").setup({})
vim.cmd.TSContextEnable() vim.cmd.TSContextEnable()

View File

@ -1 +1 @@
require('plugins.plugins') require("plugins.plugins")

View File

@ -103,8 +103,10 @@ lazy.setup({
}, },
{ {
"chrisgrieser/nvim-various-textobjs",
config = function()
require("various-textobjs").setup({ require("various-textobjs").setup({
useDefaultKeymaps = true useDefaultKeymaps = true,
}) })
end, end,
}, },

View File

@ -1,4 +1,4 @@
-- Anything that needs to be loaded LAST -- Anything that needs to be loaded LAST
-- needs to required here -- needs to required here
require('plugins.mappings') require("plugins.mappings")
require('plugins.autocmds') require("plugins.autocmds")