diff --git a/init.lua b/init.lua index 12d885a8..8f8db653 100644 --- a/init.lua +++ b/init.lua @@ -1032,7 +1032,7 @@ require('lazy').setup({ -- -- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going. -- For additional information, see `:help lazy.nvim-lazy.nvim-structuring-your-plugins` - -- { import = 'custom.plugins' }, + { import = 'custom.plugins' }, }, { ui = { -- If you are using a Nerd Font: set icons to an empty table which will use the diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index be0eb9d8..8163e16c 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -2,4 +2,6 @@ -- I promise not to create any merge conflicts in this directory :) -- -- See the kickstart.nvim README for more information -return {} +return { + { dir = '~/.config/nvim/lua/custom/toms.nvim/' }, +} diff --git a/lua/custom/toms.nvim/lua/toms.lua b/lua/custom/toms.nvim/lua/toms.lua new file mode 100644 index 00000000..1d15dd42 --- /dev/null +++ b/lua/custom/toms.nvim/lua/toms.lua @@ -0,0 +1,10 @@ +print 'loaded tom.lua' + +function List_bufs() + vim.print(vim.api.nvim_list_bufs()) +end + +-- function ListDiag() +-- +-- vim.print(vim. +-- end diff --git a/lua/custom/toms.nvim/plugin/load.lua b/lua/custom/toms.nvim/plugin/load.lua new file mode 100644 index 00000000..28e05458 --- /dev/null +++ b/lua/custom/toms.nvim/plugin/load.lua @@ -0,0 +1 @@ +require 'toms'