37 lines
850 B
Lua
37 lines
850 B
Lua
if vim.loader then
|
|
vim.loader.enable()
|
|
end
|
|
|
|
vim.g.loaded_netrw = 1
|
|
vim.g.loaded_netrwPlugin = 1
|
|
|
|
_G.dd = function(...)
|
|
require("utils.debug").dump(...)
|
|
end
|
|
vim.print = _G.dd
|
|
|
|
require("config.lazy")
|
|
|
|
|
|
-- CONFIG_PATH = vim.fn.stdpath('config')
|
|
-- DATA_PATH = vim.fn.stdpath('data')
|
|
-- CACHE_PATH = vim.fn.stdpath('cache')
|
|
-- P = vim.inspect
|
|
|
|
-- require('lv-globals')
|
|
-- vim.cmd('luafile '..CONFIG_PATH..'/settings.lua')
|
|
-- require('settings')
|
|
-- require('plugins')
|
|
-- require('utils')
|
|
-- require('pluginconfig')
|
|
-- require('autocommands')
|
|
-- require('keymappings')
|
|
-- require('colorscheme') -- This plugin must be required somewhere after nvimtree. Placing it before will break navigation keymappings
|
|
|
|
-- -- TODO is there a way to do this without vimscript
|
|
-- vim.cmd('source '..CONFIG_PATH..'/vimscript/functions.vim')
|
|
|
|
-- -- LSP
|
|
-- require('lsp')
|
|
|