templates
This commit is contained in:
parent
104145392c
commit
7ff7f47104
4
init.lua
4
init.lua
@ -1,2 +1,6 @@
|
|||||||
-- bootstrap lazy.nvim, LazyVim and your plugins
|
-- bootstrap lazy.nvim, LazyVim and your plugins
|
||||||
|
vim.g.user = "veypi"
|
||||||
|
vim.g.email = "i@veypi.com"
|
||||||
|
vim.g.templates_directory = '~/.config/nvim/templates'
|
||||||
|
|
||||||
require("config.lazy")
|
require("config.lazy")
|
||||||
|
|||||||
@ -44,5 +44,6 @@
|
|||||||
"tokyonight.nvim": { "branch": "main", "commit": "2c85fad417170d4572ead7bf9fdd706057bd73d7" },
|
"tokyonight.nvim": { "branch": "main", "commit": "2c85fad417170d4572ead7bf9fdd706057bd73d7" },
|
||||||
"trouble.nvim": { "branch": "main", "commit": "254145ffd528b98eb20be894338e2d5c93fa02c2" },
|
"trouble.nvim": { "branch": "main", "commit": "254145ffd528b98eb20be894338e2d5c93fa02c2" },
|
||||||
"ts-comments.nvim": { "branch": "main", "commit": "98d7d4dec0af1312d38e288f800bbf6ff562b6ab" },
|
"ts-comments.nvim": { "branch": "main", "commit": "98d7d4dec0af1312d38e288f800bbf6ff562b6ab" },
|
||||||
|
"vim-template": { "branch": "master", "commit": "0bf607233719a0ed6e14bf0197ba8950bf8833fc" },
|
||||||
"which-key.nvim": { "branch": "main", "commit": "8badb359f7ab8711e2575ef75dfe6fbbd87e4821" }
|
"which-key.nvim": { "branch": "main", "commit": "8badb359f7ab8711e2575ef75dfe6fbbd87e4821" }
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,9 @@
|
|||||||
return {
|
return {
|
||||||
|
{
|
||||||
|
'aperezdc/vim-template',
|
||||||
|
config = function()
|
||||||
|
end,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"norcalli/nvim-colorizer.lua",
|
"norcalli/nvim-colorizer.lua",
|
||||||
config = function()
|
config = function()
|
||||||
|
|||||||
10
templates/=template=.go
Normal file
10
templates/=template=.go
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
//
|
||||||
|
// %FFILE%
|
||||||
|
// Copyright (C) %YEAR% %USER% <%MAIL%>
|
||||||
|
// %FDATE%
|
||||||
|
// Distributed under terms of the %LICENSE% license.
|
||||||
|
//
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
%HERE%
|
||||||
8
templates/=template=.rs
Normal file
8
templates/=template=.rs
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
//
|
||||||
|
// %FFILE%
|
||||||
|
// Copyright (C) %YEAR% %USER% <%MAIL%>
|
||||||
|
// %FDATE%
|
||||||
|
// Distributed under terms of the %LICENSE% license.
|
||||||
|
//
|
||||||
|
|
||||||
|
%HERE%
|
||||||
8
templates/=template=.ts
Normal file
8
templates/=template=.ts
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
/*
|
||||||
|
* %FFILE%
|
||||||
|
* Copyright (C) %YEAR% %USER% <%MAIL%>
|
||||||
|
* %FDATE%
|
||||||
|
* Distributed under terms of the %LICENSE% license.
|
||||||
|
*/
|
||||||
|
|
||||||
|
%HERE%
|
||||||
16
templates/=template=.vue
Normal file
16
templates/=template=.vue
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<!--
|
||||||
|
* %FFILE%
|
||||||
|
* Copyright (C) %YEAR% %USER% <%MAIL%>
|
||||||
|
* %FDATE%
|
||||||
|
* Distributed under terms of the %LICENSE% license.
|
||||||
|
-->
|
||||||
|
<template>
|
||||||
|
<div>%HERE%</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script lang="ts" setup>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
</style>
|
||||||
|
|
||||||
9
templates/=template=Makefile
Normal file
9
templates/=template=Makefile
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#
|
||||||
|
# %FFILE%
|
||||||
|
# Copyright (C) %YEAR% %USER% <%MAIL%>
|
||||||
|
# %FDATE%
|
||||||
|
# Distributed under terms of the %LICENSE% license.
|
||||||
|
#
|
||||||
|
|
||||||
|
all:
|
||||||
|
%HERE%@echo "%FFILE% needs your attention"
|
||||||
Loading…
x
Reference in New Issue
Block a user