[vim] Redo the keys lua module
Return a table from the module so that other modules that require it can access its functions in a namespaced way.
This commit is contained in:
parent
5e5c8f83c8
commit
95081a31a3
3 changed files with 53 additions and 26 deletions
|
@ -56,12 +56,16 @@ vim.cmd [[
|
|||
]]
|
||||
|
||||
require "configuration"
|
||||
require "keys"
|
||||
require "lsp"
|
||||
|
||||
local colors = require "colors"
|
||||
local colors = require 'colors'
|
||||
colors.init()
|
||||
|
||||
local keys = require 'keys'
|
||||
keys.init_key_opts()
|
||||
keys.init_window_key_mappings()
|
||||
keys.init_diagnostic_key_mappings()
|
||||
|
||||
function ErynEnsureMetadataDirectoriesExist()
|
||||
local paths = {
|
||||
vim.opt.backupdir:get(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue