Compare commits
2 Commits
a79693df58
...
01b380f4e4
Author | SHA1 | Date |
---|---|---|
Vegard Berg | 01b380f4e4 | |
Vegard Berg | 404cdde606 |
|
@ -0,0 +1,6 @@
|
||||||
|
(fn say-hi [name] (print (.. "Hello, " name)))
|
||||||
|
(fn say-bye [name] (print (.. "Adios, " name)))
|
||||||
|
|
||||||
|
;{:sayHi say-hi
|
||||||
|
;:sayBye say-bye)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
(module nvim-config
|
;; (module nvim-config
|
||||||
{autoload {nvim aniseed.nvim}})
|
;; {autoload {nvim aniseed.nvim}}
|
||||||
|
|
||||||
;;(vim.cmd.colorscheme "industry")
|
;;(vim.cmd.colorscheme "industry")
|
||||||
;; Done in init.lua instead, as it
|
;; Done in init.lua instead, as it
|
||||||
|
@ -29,6 +29,7 @@
|
||||||
|
|
||||||
:sources (cmp.config.sources
|
:sources (cmp.config.sources
|
||||||
[{:name "nvim_lsp"}
|
[{:name "nvim_lsp"}
|
||||||
|
{:name "nvim_lua"}
|
||||||
{:name "luasnip"}
|
{:name "luasnip"}
|
||||||
{:name "buffer"}])})
|
{:name "buffer"}])})
|
||||||
|
|
||||||
|
|
48
init.lua
48
init.lua
|
@ -48,6 +48,54 @@ vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
require("lazy").setup("plugins")
|
require("lazy").setup("plugins")
|
||||||
|
|
||||||
|
--[==========[
|
||||||
|
░█▀█░█▀█░▀█▀░█▀▀░█▀▀░█▀▀░█▀▄
|
||||||
|
░█▀█░█░█░░█░░▀▀█░█▀▀░█▀▀░█░█
|
||||||
|
░▀░▀░▀░▀░▀▀▀░▀▀▀░▀▀▀░▀▀▀░▀▀░
|
||||||
|
--]==========]
|
||||||
|
local aniseedpath = vim.fn.stdpath("data") .. "/lazy/aniseed"
|
||||||
|
if not vim.loop.fs_stat(aniseedpath) then
|
||||||
|
vim.fn.system({
|
||||||
|
"git",
|
||||||
|
"clone",
|
||||||
|
"--filter=blob:none",
|
||||||
|
"--single-branch",
|
||||||
|
"https://github.com/Olical/aniseed.git",
|
||||||
|
aniseedpath
|
||||||
|
})
|
||||||
|
end
|
||||||
|
vim.opt.rtp:prepend(aniseedpath)
|
||||||
|
vim.g["aniseed#env"] = true
|
||||||
|
--require("aniseed").setup()
|
||||||
|
require("aniseed.env").init()
|
||||||
|
|
||||||
|
|
||||||
|
--[[
|
||||||
|
local hotpot_path = vim.fn.stdpath("data") .. "/lazy/hotpot.nvim"
|
||||||
|
if not vim.loop.fs_stat(hotpot_path) then
|
||||||
|
vim.notify("Bootstrapping hotpot.nvim...", vim.log.levels.INFO)
|
||||||
|
vim.fn.system({
|
||||||
|
"git",
|
||||||
|
"clone",
|
||||||
|
"--filter=blob:none",
|
||||||
|
"--single-branch",
|
||||||
|
"https://github.com/rktjmp/hotpot.nvim.git",
|
||||||
|
hotpot_path,
|
||||||
|
})
|
||||||
|
end
|
||||||
|
vim.opt.runtimepath:prepend(hotpot_path)
|
||||||
|
require("hotpot").setup({
|
||||||
|
provide_require_fennel = true,
|
||||||
|
|
||||||
|
compiler = {
|
||||||
|
modules = {
|
||||||
|
correlate = true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
})
|
||||||
|
require "config"
|
||||||
|
--]]
|
||||||
|
|
||||||
--[==========[
|
--[==========[
|
||||||
░█▀█░█░█░▀█▀░█▄█░░░░░█▀▀░█▄█░█▀█
|
░█▀█░█░█░▀█▀░█▄█░░░░░█▀▀░█▄█░█▀█
|
||||||
░█░█░▀▄▀░░█░░█░█░▄▄▄░█░░░█░█░█▀▀
|
░█░█░▀▄▀░░█░░█░█░▄▄▄░█░░░█░█░█▀▀
|
||||||
|
|
|
@ -1,14 +1,15 @@
|
||||||
{
|
{
|
||||||
"LuaSnip": { "branch": "master", "commit": "fcdaa4313305fe20d928551134c1ec2266e7af2a" },
|
"LuaSnip": { "branch": "master", "commit": "fcdaa4313305fe20d928551134c1ec2266e7af2a" },
|
||||||
"aerial.nvim": { "branch": "master", "commit": "189bf4cce7f029ca8b3684441dd9d8ca5e6925a4" },
|
"aerial.nvim": { "branch": "master", "commit": "189bf4cce7f029ca8b3684441dd9d8ca5e6925a4" },
|
||||||
"aniseed": { "branch": "master", "commit": "44d2886a9ec38abac61b4c73c2e57fb752232cfe" },
|
|
||||||
"barbar.nvim": { "branch": "master", "commit": "b8ca6076f75e49cca1fa0288c080f3d10ec2152c" },
|
"barbar.nvim": { "branch": "master", "commit": "b8ca6076f75e49cca1fa0288c080f3d10ec2152c" },
|
||||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||||
"cmp-cmdline": { "branch": "main", "commit": "5af1bb7d722ef8a96658f01d6eb219c4cf746b32" },
|
"cmp-cmdline": { "branch": "main", "commit": "5af1bb7d722ef8a96658f01d6eb219c4cf746b32" },
|
||||||
"cmp-nvim-lsp": { "branch": "main", "commit": "0e6b2ed705ddcff9738ec4ea838141654f12eeef" },
|
"cmp-nvim-lsp": { "branch": "main", "commit": "0e6b2ed705ddcff9738ec4ea838141654f12eeef" },
|
||||||
|
"cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" },
|
||||||
"cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" },
|
"cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" },
|
||||||
"conjure": { "branch": "master", "commit": "1dd96d90f53122225f698e58b50dee9ed760cf2e" },
|
"conjure": { "branch": "master", "commit": "1dd96d90f53122225f698e58b50dee9ed760cf2e" },
|
||||||
"gitsigns.nvim": { "branch": "main", "commit": "c18b7ca0b5b50596722f3a1572eb9b8eb520c0f1" },
|
"gitsigns.nvim": { "branch": "main", "commit": "c18b7ca0b5b50596722f3a1572eb9b8eb520c0f1" },
|
||||||
|
"indent-blankline.nvim": { "branch": "master", "commit": "018bd04d80c9a73d399c1061fa0c3b14a7614399" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "6610b15dfd76f7992423916e2b87f031881d7b25" },
|
"lazy.nvim": { "branch": "main", "commit": "6610b15dfd76f7992423916e2b87f031881d7b25" },
|
||||||
"lualine.nvim": { "branch": "master", "commit": "05d78e9fd0cdfb4545974a5aa14b1be95a86e9c9" },
|
"lualine.nvim": { "branch": "master", "commit": "05d78e9fd0cdfb4545974a5aa14b1be95a86e9c9" },
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "c55d18f3947562e699d34d89681edbf9f0e250d3" },
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "c55d18f3947562e699d34d89681edbf9f0e250d3" },
|
||||||
|
|
|
@ -1,8 +1,12 @@
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
--[[
|
||||||
"Olical/aniseed",
|
"Olical/aniseed",
|
||||||
lazy = false,
|
lazy = false,
|
||||||
priority = 100,
|
priority = 100,
|
||||||
init = function(_)
|
init = function(_)
|
||||||
vim.g["aniseed#env"] = true
|
vim.g["aniseed#env"] = true
|
||||||
end
|
end
|
||||||
|
]]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
-- https://github.com/hrsh7th/cmp-nvim-lua
|
||||||
|
|
||||||
|
return {
|
||||||
|
"hrsh7th/cmp-nvim-lua"
|
||||||
|
}
|
Loading…
Reference in New Issue