build core, basic and go variants and add template
This commit is contained in:
12
template/nvim/init/template.lua
Normal file
12
template/nvim/init/template.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
local pack = require 'pack'
|
||||
|
||||
---
|
||||
--- Add your custom neovim configuration here. This file should be named after
|
||||
--- your editor variant. You can use `pack '<user>/<repo>'` to load a plugin
|
||||
--- and source it's configuration file. For a plugin
|
||||
--- 'my-user/nvim-my-repo.nvim', the configuration file plugconf/my-repo.lua
|
||||
--- would be source, if it exists ("nvim-" and "vim-" prefixes and everyting
|
||||
--- after the first "." get removed from <repo>).
|
||||
---
|
||||
|
||||
pack 'my-user/nvim-my-repo.nvim'
|
||||
11
template/nvim/luasnippets/all.lua
Normal file
11
template/nvim/luasnippets/all.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
--- Add your lua snippets here. Rename this file to match the file type your
|
||||
--- snippets are supposed to be availlable for instead of 'all'.
|
||||
---
|
||||
|
||||
return {
|
||||
parse(
|
||||
{ trig = 'my-snippet', name = 'My Snippet' },
|
||||
'The quick brown ${1:fox} jumps over the lazy ${2:dog,cat,elephant}'
|
||||
),
|
||||
}
|
||||
Reference in New Issue
Block a user