Added most essential plugins with packer according to the primeagen
parent
1c62270dc3
commit
67bbdbb41f
|
@ -0,0 +1 @@
|
|||
vim.keymap.set("n", "<leader>gs", vim.cmd.Git)
|
|
@ -0,0 +1,17 @@
|
|||
require'nvim-treesitter.configs'.setup {
|
||||
-- A list of parser names, or "all" (the five listed parsers should always be installed)
|
||||
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "javascript", "typescript", "go" },
|
||||
|
||||
-- Install parsers synchronously (only applied to `ensure_installed`)
|
||||
sync_install = true,
|
||||
|
||||
-- Automatically install missing parsers when entering buffer
|
||||
-- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally
|
||||
auto_install = true,
|
||||
|
||||
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false,
|
||||
},
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
vim.keymap.set("n", "<leader>u", vim.cmd.UndotreeToggle)
|
|
@ -0,0 +1,9 @@
|
|||
color = color or "tairiki"
|
||||
vim.cmd.colorscheme(color)
|
||||
|
||||
-- Making the background transparent
|
||||
-- Guake doen't seem to like it tho and only half the screen is transparent
|
||||
--vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
||||
--vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
||||
|
||||
|
|
@ -1 +1,3 @@
|
|||
require("nthobaben.remap")
|
||||
require("nthobaben.color")
|
||||
require("nthobaben.remap")
|
||||
|
|
|
@ -12,4 +12,17 @@ return require('packer').startup(function(use)
|
|||
-- or , branch = '0.1.x',
|
||||
requires = { {'nvim-lua/plenary.nvim'} }
|
||||
}
|
||||
|
||||
-- tairiki color scheme
|
||||
use 'deparr/tairiki.nvim'
|
||||
require('tairiki').setup {
|
||||
style = 'dark'
|
||||
}
|
||||
require('tairiki').load()
|
||||
|
||||
use({'nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'}})
|
||||
|
||||
use 'mbbill/undotree'
|
||||
use 'tpope/vim-fugitive'
|
||||
end)
|
||||
|
||||
|
|
|
@ -74,6 +74,11 @@ end
|
|||
time([[try_loadstring definition]], false)
|
||||
time([[Defining packer_plugins]], true)
|
||||
_G.packer_plugins = {
|
||||
["nvim-treesitter"] = {
|
||||
loaded = true,
|
||||
path = "/home/niclasthobaben/.local/share/nvim/site/pack/packer/start/nvim-treesitter",
|
||||
url = "https://github.com/nvim-treesitter/nvim-treesitter"
|
||||
},
|
||||
["packer.nvim"] = {
|
||||
loaded = true,
|
||||
path = "/home/niclasthobaben/.local/share/nvim/site/pack/packer/start/packer.nvim",
|
||||
|
@ -84,10 +89,25 @@ _G.packer_plugins = {
|
|||
path = "/home/niclasthobaben/.local/share/nvim/site/pack/packer/start/plenary.nvim",
|
||||
url = "https://github.com/nvim-lua/plenary.nvim"
|
||||
},
|
||||
["tairiki.nvim"] = {
|
||||
loaded = true,
|
||||
path = "/home/niclasthobaben/.local/share/nvim/site/pack/packer/start/tairiki.nvim",
|
||||
url = "https://github.com/deparr/tairiki.nvim"
|
||||
},
|
||||
["telescope.nvim"] = {
|
||||
loaded = true,
|
||||
path = "/home/niclasthobaben/.local/share/nvim/site/pack/packer/start/telescope.nvim",
|
||||
url = "https://github.com/nvim-telescope/telescope.nvim"
|
||||
},
|
||||
undotree = {
|
||||
loaded = true,
|
||||
path = "/home/niclasthobaben/.local/share/nvim/site/pack/packer/start/undotree",
|
||||
url = "https://github.com/mbbill/undotree"
|
||||
},
|
||||
["vim-fugitive"] = {
|
||||
loaded = true,
|
||||
path = "/home/niclasthobaben/.local/share/nvim/site/pack/packer/start/vim-fugitive",
|
||||
url = "https://github.com/tpope/vim-fugitive"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue