master
Jordan Orelli 6 months ago
parent d2d49f98dc
commit 7397673711

@ -76,7 +76,8 @@ cmd: vim +PlugInstall +qall
when: host.has('nvim') and not host.is_windows
files:
nvim/init.lua > .config/nvim/init.lua
nvim/lua > .config/nvim/lua
nvim/lua > .config/nvim/lua
nvim/after > .config/nvim/after
[git packer-posix]
when: not host.is_windows

@ -0,0 +1,10 @@
print("All Plugins are loaded")
for k, v in pairs(packer_plugins) do
print(k, v)
end
require("keys")
require("colors")

@ -0,0 +1,2 @@
print("After Telescope")
local builtin = require('telescope.builtin')

@ -1,3 +1,2 @@
print("Init start")
require("plugins")
require("keys")

@ -0,0 +1,15 @@
print("Setting up colors")
rose_pine = packer_plugins["rose-pine"]
if rose_pine then
print("Rose Pine is known")
if rose_pine.loaded then
print("Using Rose Pine colorscheme")
vim.cmd.colorscheme("rose-pine")
-- vim.cmd("colorscheme rose-pine")
else
print("Rose Pine is not loaded")
end
else
print("Rose Pine is not known")
end

@ -1 +1,4 @@
print("Loading key mappings")
local telescope = require('telescope.builtin')
vim.keymap.set('n', '<C-p>', telescope.find_files, {})

@ -1,4 +1,4 @@
print("loading plugins")
print("Loading plugins")
vim.cmd [[packadd packer.nvim]]
@ -12,4 +12,6 @@ return require('packer').startup(function(use)
{'nvim-lua/plenary.nvim'}
}
}
use { "rose-pine/neovim", as = "rose-pine" }
end)

Loading…
Cancel
Save