chore: dont use lazy for some imports

This commit is contained in:
Matej Janezic 2023-05-25 22:34:48 +02:00
parent b86fd44312
commit 13a695c846
Signed by: janezicmatej
GPG Key ID: 4298E230ED37B2C0
4 changed files with 4 additions and 9 deletions

View File

@ -19,11 +19,12 @@ if not vim.loop.fs_stat(lazypath) then
end
vim.opt.rtp:prepend(lazypath)
require 'options'
require 'autocmd'
require 'keymaps'
require('lazy').setup({
{ import = 'options' },
{ import = 'keymaps' },
{ import = 'plugins' },
{ import = 'autocmd' },
}, {})
-- The line beneath this is called `modeline`. See `:help modeline`

View File

@ -2,5 +2,3 @@ vim.api.nvim_create_autocmd({ 'BufEnter, BufWinEnter' }, { command = 'set colorc
vim.api.nvim_create_autocmd({ 'BufEnter, BufWinEnter' }, { command = 'set colorcolumn=80,100', pattern = { '*.rs' } })
vim.api.nvim_create_autocmd({ 'BufEnter, BufWinEnter' }, { command = 'set splitright', pattern = { '*' } })
vim.api.nvim_create_autocmd({ 'BufEnter, BufWinEnter' }, { command = 'set splitbelow', pattern = { '*' } })
return {}

View File

@ -39,5 +39,3 @@ vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist)
-- terminal
vim.keymap.set('t', '<C-x>', vim.api.nvim_replace_termcodes('<C-\\><C-N>', true, true, true), { desc = 'Escape terminal mode' })
return {}

View File

@ -39,5 +39,3 @@ vim.o.timeoutlen = 300
vim.o.completeopt = 'menuone,noselect'
vim.o.termguicolors = true
return {}