1

Boilerplate stub

This commit is contained in:
Alex Yatskov 2022-12-30 10:40:23 -08:00
parent 0eb602ced5
commit 089bb747a4
4 changed files with 73 additions and 1 deletions

View File

@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2022 Alexei Yatskov Copyright (c) 2022-2023 Alexei Yatskov
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

60
lua/.luarc.json Normal file
View File

@ -0,0 +1,60 @@
{
"$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json",
"Lua.workspace.library": [
"/home/alex/.config/vim/pack/plugins/start/neodev.nvim/types/stable",
"/usr/share/nvim/runtime",
"/home/alex/.config/vim/pack/plugins/start/Comment.nvim",
"/home/alex/.config/vim/pack/plugins/start/cmp-nvim-lsp",
"/home/alex/.config/vim/pack/plugins/start/cmp-nvim-lsp-signature-help",
"/home/alex/.config/vim/pack/plugins/start/cmp-vsnip",
"/home/alex/.config/vim/pack/plugins/start/hflip.nvim",
"/home/alex/.config/vim/pack/plugins/start/lualine.nvim",
"/home/alex/.config/vim/pack/plugins/start/neodev.nvim",
"/home/alex/.config/vim/pack/plugins/start/nightfox.nvim",
"/home/alex/.config/vim/pack/plugins/start/nvim-cmp",
"/home/alex/.config/vim/pack/plugins/start/nvim-lspconfig",
"/home/alex/.config/vim/pack/plugins/start/plenary.nvim",
"/home/alex/.config/nvim",
"/home/alex/.config/nvim/pack/plugins/start/Comment.nvim",
"/home/alex/.config/nvim/pack/plugins/start/cmp-nvim-lsp",
"/home/alex/.config/nvim/pack/plugins/start/cmp-nvim-lsp-signature-help",
"/home/alex/.config/nvim/pack/plugins/start/cmp-vsnip",
"/home/alex/.config/nvim/pack/plugins/start/fzf",
"/home/alex/.config/nvim/pack/plugins/start/fzf.vim",
"/home/alex/.config/nvim/pack/plugins/start/hflip.nvim",
"/home/alex/.config/nvim/pack/plugins/start/lualine.nvim",
"/home/alex/.config/nvim/pack/plugins/start/neodev.nvim",
"/home/alex/.config/nvim/pack/plugins/start/nightfox.nvim",
"/home/alex/.config/nvim/pack/plugins/start/nvim-cmp",
"/home/alex/.config/nvim/pack/plugins/start/nvim-lspconfig",
"/home/alex/.config/nvim/pack/plugins/start/plenary.nvim",
"/home/alex/.config/nvim/pack/plugins/start/suda.vim",
"/home/alex/.config/nvim/pack/plugins/start/vim-abolish",
"/home/alex/.config/nvim/pack/plugins/start/vim-angry",
"/home/alex/.config/nvim/pack/plugins/start/vim-argwrap",
"/home/alex/.config/nvim/pack/plugins/start/vim-better-whitespace",
"/home/alex/.config/nvim/pack/plugins/start/vim-dirvish",
"/home/alex/.config/nvim/pack/plugins/start/vim-easy-align",
"/home/alex/.config/nvim/pack/plugins/start/vim-fugitive",
"/home/alex/.config/nvim/pack/plugins/start/vim-go",
"/home/alex/.config/nvim/pack/plugins/start/vim-indent-object",
"/home/alex/.config/nvim/pack/plugins/start/vim-interestingwords",
"/home/alex/.config/nvim/pack/plugins/start/vim-polyglot",
"/home/alex/.config/nvim/pack/plugins/start/vim-repeat",
"/home/alex/.config/nvim/pack/plugins/start/vim-rooter",
"/home/alex/.config/nvim/pack/plugins/start/vim-signify",
"/home/alex/.config/nvim/pack/plugins/start/vim-sort-motion",
"/home/alex/.config/nvim/pack/plugins/start/vim-surround",
"/home/alex/.config/nvim/pack/plugins/start/vim-unimpaired",
"/home/alex/.config/nvim/pack/plugins/start/vim-vsnip",
"/usr/share/nvim/site",
"/usr/share/nvim/runtime",
"/home/alex/.config/nvim/pack/plugins/start/cmp-nvim-lsp/after",
"/home/alex/.config/nvim/pack/plugins/start/cmp-nvim-lsp-signature-help/after",
"/home/alex/.config/nvim/pack/plugins/start/cmp-vsnip/after",
"/home/alex/.config/nvim/pack/plugins/start/vim-polyglot/after",
"/usr/bin/../share/nvim-qt/runtime",
"/usr/share/vim/vimfiles/",
"${3rd}/luassert/library"
]
}

7
lua/argonaut.lua Normal file
View File

@ -0,0 +1,7 @@
local function wrap_toggle()
print('Hello world')
end
return {
wrap_toggle = wrap_toggle
}

5
plugin/argonaut.lua Normal file
View File

@ -0,0 +1,5 @@
if not vim.g.argonaut then
local argonaut = require('argonaut')
vim.api.nvim_create_user_command('ArgonautWrapToggle', argonaut.wrap_toggle, {})
vim.g.argonaut = true
end