[Refactor] remove lv prefix (#1112)

* Rename lv-utils into utils

* Move commands defined in utils into core/commands.lua
This commit is contained in:
Luc Sinet 2021-07-26 19:14:23 +02:00 committed by GitHub
parent 623994af2a
commit 12c0a7441e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 62 additions and 50 deletions

View file

@ -28,8 +28,11 @@ plugin_loader:load { plugins, lvim.plugins }
vim.g.colors_name = lvim.colorscheme -- Colorscheme must get called after plugins are loaded or it will break new installs.
vim.cmd("colorscheme " .. lvim.colorscheme)
local utils = require "lv-utils"
local utils = require "utils"
utils.toggle_autoformat()
local commands = require "core.commands"
commands.load(commands.defaults)
require("lsp").setup_handlers()
local null_status_ok, null_ls = pcall(require, "null-ls")