Add your own plugin
This commit is contained in:
parent
c3ac7410f8
commit
cc29de3052
2
init.lua
2
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.
|
-- 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`
|
-- For additional information, see `:help lazy.nvim-lazy.nvim-structuring-your-plugins`
|
||||||
-- { import = 'custom.plugins' },
|
{ import = 'custom.plugins' },
|
||||||
}, {
|
}, {
|
||||||
ui = {
|
ui = {
|
||||||
-- If you are using a Nerd Font: set icons to an empty table which will use the
|
-- If you are using a Nerd Font: set icons to an empty table which will use the
|
||||||
|
|
|
@ -2,4 +2,6 @@
|
||||||
-- I promise not to create any merge conflicts in this directory :)
|
-- I promise not to create any merge conflicts in this directory :)
|
||||||
--
|
--
|
||||||
-- See the kickstart.nvim README for more information
|
-- See the kickstart.nvim README for more information
|
||||||
return {}
|
return {
|
||||||
|
{ dir = '~/.config/nvim/lua/custom/toms.nvim/' },
|
||||||
|
}
|
||||||
|
|
|
@ -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
|
|
@ -0,0 +1 @@
|
||||||
|
require 'toms'
|
Loading…
Reference in New Issue