Browse Source

Move to lua folder

master
Taylor Bockman 1 year ago
parent
commit
cbf84f876a
  1. 16
      init.lua
  2. 0
      lua/conf/config.lua
  3. 0
      lua/conf/git.lua
  4. 0
      lua/conf/keybinds.lua
  5. 0
      lua/conf/langs/general.lua
  6. 0
      lua/conf/langs/python.lua
  7. 3
      lua/conf/plugins.lua
  8. 0
      lua/conf/search.lua
  9. 0
      lua/conf/ui.lua
  10. 0
      lua/ui.lua

16
init.lua

@ -1,14 +1,16 @@
-- Initialization -- Initialization
require('/conf/plugins') local config_path = vim.fn.stdpath('config') .. '/'
require('/conf/keybinds')
require('/conf/config') require('conf.plugins')
require('/conf/ui') require('conf.keybinds')
require('/conf/search') require('conf.config')
require('/conf/git') require('conf.ui')
require('conf.search')
require('conf.git')
require('ui') require('ui')
local paths = vim.fn.glob(vim.fn.stdpath 'config' .. 'config/langs/*.lua', true, true, true) local paths = vim.fn.glob('lua/conf/langs/*.lua', true, true, true)
for _, file in ipairs(paths) do for _, file in ipairs(paths) do
require(file) require(file)

0
conf/config.lua → lua/conf/config.lua

0
conf/git.lua → lua/conf/git.lua

0
conf/keybinds.lua → lua/conf/keybinds.lua

0
conf/langs/general.lua → lua/conf/langs/general.lua

0
conf/langs/python.lua → lua/conf/langs/python.lua

3
conf/plugins.lua → lua/conf/plugins.lua

@ -2,6 +2,7 @@
local vim = vim local vim = vim
local Plug = vim.fn['plug#'] local Plug = vim.fn['plug#']
local config_path = vim.fn.stdpath('config') .. '/'
-- I have no idea how to auto-install vim-plug on Windows -- I have no idea how to auto-install vim-plug on Windows
-- so you will have to install it manually. -- so you will have to install it manually.
@ -15,7 +16,7 @@ vim.cmd [[
endif endif
]] ]]
vim.call('plug#begin', '~/.config/nvim/plugged') vim.call('plug#begin', config_path .. 'plugged')
-- UI -- UI
Plug 'arcticicestudio/nord-vim' Plug 'arcticicestudio/nord-vim'

0
conf/search.lua → lua/conf/search.lua

0
conf/ui.lua → lua/conf/ui.lua

0
ui.lua → lua/ui.lua

Loading…
Cancel
Save