mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2026-01-29 09:23:02 +01:00
nvim: init
This commit is contained in:
parent
2919c8695b
commit
9a319d8bf7
17 changed files with 179 additions and 0 deletions
5
nvim/lua/plugins/autopairs.lua
Normal file
5
nvim/lua/plugins/autopairs.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
return {
|
||||
'windwp/nvim-autopairs',
|
||||
event = "InsertEnter",
|
||||
config = true,
|
||||
}
|
||||
6
nvim/lua/plugins/gitsigns.lua
Normal file
6
nvim/lua/plugins/gitsigns.lua
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
return {
|
||||
'lewis6991/gitsigns.nvim',
|
||||
config = function()
|
||||
require("config.gitsigns")
|
||||
end,
|
||||
}
|
||||
7
nvim/lua/plugins/lualine.lua
Normal file
7
nvim/lua/plugins/lualine.lua
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
return {
|
||||
'nvim-lualine/lualine.nvim',
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||
config = function()
|
||||
require("config.lualine")
|
||||
end,
|
||||
}
|
||||
10
nvim/lua/plugins/onedark.lua
Normal file
10
nvim/lua/plugins/onedark.lua
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
return {
|
||||
"navarasu/onedark.nvim",
|
||||
priority = 1000, -- make sure to load this before all the other start plugins
|
||||
config = function()
|
||||
require('onedark').setup {
|
||||
style = 'warmer'
|
||||
}
|
||||
require('onedark').load()
|
||||
end
|
||||
}
|
||||
23
nvim/lua/plugins/telescope.lua
Normal file
23
nvim/lua/plugins/telescope.lua
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
return {
|
||||
'nvim-telescope/telescope.nvim',
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
-- optional but recommended
|
||||
{ -- If encountering errors, see telescope-fzf-native README for installation instructions
|
||||
'nvim-telescope/telescope-fzf-native.nvim',
|
||||
|
||||
-- `build` is used to run some command when the plugin is installed/updated.
|
||||
-- This is only run then, not every time Neovim starts up.
|
||||
build = 'make',
|
||||
|
||||
-- `cond` is a condition used to determine whether this plugin should be
|
||||
-- installed and loaded.
|
||||
cond = function()
|
||||
return vim.fn.executable 'make' == 1
|
||||
end,
|
||||
},
|
||||
},
|
||||
config = function()
|
||||
require("config.telescope")
|
||||
end,
|
||||
}
|
||||
6
nvim/lua/plugins/todo-comments.lua
Normal file
6
nvim/lua/plugins/todo-comments.lua
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
return {
|
||||
"folke/todo-comments.nvim",
|
||||
event = 'VimEnter',
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
opts = { signs = false },
|
||||
}
|
||||
8
nvim/lua/plugins/treesitter.lua
Normal file
8
nvim/lua/plugins/treesitter.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
return {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
lazy = false,
|
||||
build = ':TSUpdate',
|
||||
config = function()
|
||||
require("config.treesitter")
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue