File structure change

- Create config directory for vim options and keymaps
- update import in init.lua
This commit is contained in:
Justin Bird 2023-10-23 21:44:20 -07:00
parent 37107fb8e6
commit 5e9e40c978
5 changed files with 4 additions and 5 deletions

View File

@ -233,7 +233,8 @@ require('lazy').setup({
-- [[ Basic Keymaps ]] -- [[ Basic Keymaps ]]
-- Keymaps for better default experience -- Keymaps for better default experience
-- See `:help vim.keymap.set()` -- See `:help vim.keymap.set()`
require('custom') require('custom.config.options')
require('custom.config.keymaps')
-- [[ Highlight on yank ]] -- [[ Highlight on yank ]]
-- See `:help vim.highlight.on_yank()` -- See `:help vim.highlight.on_yank()`
@ -430,8 +431,6 @@ local servers = {
-- gopls = {}, -- gopls = {},
-- pyright = {}, -- pyright = {},
-- rust_analyzer = {}, -- rust_analyzer = {},
-- tsserver = {},
-- html = { filetypes = { 'html', 'twig', 'hbs'} },
lua_ls = { lua_ls = {
Lua = { Lua = {

View File

@ -0,0 +1,2 @@
require("options")
require("keymaps")

View File

@ -1,2 +0,0 @@
require("custom.options")
require("custom.keymap")