add nvim configs
This commit is contained in:
29
.config/nvim/lua/plugins/coq_nvim.lua
Normal file
29
.config/nvim/lua/plugins/coq_nvim.lua
Normal file
@@ -0,0 +1,29 @@
|
||||
return {
|
||||
"neovim/nvim-lspconfig", -- REQUIRED: for native Neovim LSP integration
|
||||
lazy = false, -- REQUIRED: tell lazy.nvim to start this plugin at startup
|
||||
dependencies = {
|
||||
-- main one
|
||||
{ "ms-jpq/coq_nvim", branch = "coq" },
|
||||
|
||||
-- 9000+ Snippets
|
||||
{ "ms-jpq/coq.artifacts", branch = "artifacts" },
|
||||
|
||||
-- lua & third party sources -- See https://github.com/ms-jpq/coq.thirdparty
|
||||
-- Need to **configure separately**
|
||||
{ 'ms-jpq/coq.thirdparty', branch = "3p" }
|
||||
-- - shell repl
|
||||
-- - nvim lua api
|
||||
-- - scientific calculator
|
||||
-- - comment banner
|
||||
-- - etc
|
||||
},
|
||||
init = function()
|
||||
vim.g.coq_settings = {
|
||||
auto_start = true, -- if you want to start COQ at startup
|
||||
-- Your COQ settings here
|
||||
}
|
||||
end,
|
||||
config = function()
|
||||
-- Your LSP settings here
|
||||
end,
|
||||
}
|
||||
8
.config/nvim/lua/plugins/crates.lua
Normal file
8
.config/nvim/lua/plugins/crates.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
return {
|
||||
'saecki/crates.nvim',
|
||||
event = { "BufRead Cargo.toml" },
|
||||
lazy = true,
|
||||
config = function()
|
||||
require('crates').setup()
|
||||
end,
|
||||
}
|
||||
32
.config/nvim/lua/plugins/lsp_config.lua
Normal file
32
.config/nvim/lua/plugins/lsp_config.lua
Normal file
@@ -0,0 +1,32 @@
|
||||
return {
|
||||
-- LSP Support
|
||||
{
|
||||
'VonHeikemen/lsp-zero.nvim',
|
||||
branch = "v3.x",
|
||||
lazy = true,
|
||||
config = false,
|
||||
},
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
dependencies = {
|
||||
{"hrsh7th/cmp-nvim-lsp"},
|
||||
},
|
||||
lazy = true,
|
||||
},
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
lazy = true,
|
||||
},
|
||||
{
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
lazy = true,
|
||||
},
|
||||
-- Autocompletion
|
||||
{
|
||||
"hrsh7th/nvim-cmp",
|
||||
dependencies = {
|
||||
{"L3MON4D3/LuaSnip"}
|
||||
},
|
||||
lazy = true,
|
||||
},
|
||||
}
|
||||
9
.config/nvim/lua/plugins/nvim-possession.lua
Normal file
9
.config/nvim/lua/plugins/nvim-possession.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
return {
|
||||
{ "gennaro-tedesco/nvim-possession",
|
||||
dependencies = {
|
||||
"ibhagwan/fzf-lua",
|
||||
},
|
||||
lazy = true,
|
||||
config = true,
|
||||
},
|
||||
}
|
||||
53
.config/nvim/lua/plugins/peanuts.lua
Normal file
53
.config/nvim/lua/plugins/peanuts.lua
Normal file
@@ -0,0 +1,53 @@
|
||||
return {
|
||||
-- not deps
|
||||
--{ "xiyaowong/transparent.nvim" },
|
||||
-- { "olimorris/onedarkpro.nvim" },
|
||||
{ "neanias/everforest-nvim" },
|
||||
{ "ibhagwan/fzf-lua", lazy = true },
|
||||
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate", lazy=true},
|
||||
{ "nvim-treesitter/nvim-treesitter-context", lazy=true },
|
||||
{ "nvim-telescope/telescope.nvim", tag = "0.1.2",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim"
|
||||
},
|
||||
lazy = true,
|
||||
},
|
||||
{ "nvim-lualine/lualine.nvim",
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||
lazy = false
|
||||
},
|
||||
{ "stevearc/aerial.nvim" },
|
||||
-- {
|
||||
-- "folke/noice.nvim",
|
||||
-- event = "VeryLazy",
|
||||
-- opts = {},
|
||||
-- dependencies = {
|
||||
-- "MunifTanjim/nui.nvim",
|
||||
-- --OPTIONAL:
|
||||
-- -- `nvim-notify` is only needed, if you want to use the notification view.
|
||||
-- -- If not available, we use `mini` as the fallback
|
||||
-- --"rcarriga/nvim-notify",
|
||||
-- }
|
||||
-- },
|
||||
{
|
||||
"danielfalk/smart-open.nvim",
|
||||
branch = "0.2.x",
|
||||
lazy = true,
|
||||
dependencies = {
|
||||
"kkharji/sqlite.lua",
|
||||
-- Only required if using match_algorithm fzf
|
||||
{ "nvim-telescope/telescope-fzf-native.nvim", build = "make" },
|
||||
-- Optional. If installed, native fzy will be used when match_algorithm is fzy
|
||||
{ "nvim-telescope/telescope-fzy-native.nvim" },
|
||||
},
|
||||
},
|
||||
{ "gelguy/wilder.nvim", lazy = true },
|
||||
{ "tpope/vim-fugitive", lazy = true },
|
||||
{ "norcalli/nvim-colorizer.lua", verylazy = true },
|
||||
{ "ziontee113/color-picker.nvim", verylazy = true },
|
||||
{ "lewis6991/gitsigns.nvim", verylazy = true },
|
||||
{ "MunifTanjim/nui.nvim", verylazy = true }, --dependency for telescope
|
||||
--{ "elkowar/yuck.vim", verylazy = true },--helper for eww widget configuration
|
||||
-- optional
|
||||
{ "nvim-treesitter/nvim-treesitter-textobjects", lazy = true },
|
||||
}
|
||||
8
.config/nvim/lua/plugins/undotree.lua
Executable file
8
.config/nvim/lua/plugins/undotree.lua
Executable file
@@ -0,0 +1,8 @@
|
||||
return {
|
||||
"jiaoshijie/undotree",
|
||||
dependencies = "nvim-lua/plenary.nvim",
|
||||
config = true,
|
||||
keys = { -- load the plugin only when using it's keybinding:
|
||||
{ "<leader>u", "<cmd>lua require('undotree').toggle()<cr>" },
|
||||
},
|
||||
}
|
||||
9
.config/nvim/lua/plugins/which-key.lua
Normal file
9
.config/nvim/lua/plugins/which-key.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
return {
|
||||
"folke/which-key.nvim",
|
||||
event = "VeryLazy",
|
||||
init = function()
|
||||
vim.o.timeout = true
|
||||
vim.o.timeoutlen = 100
|
||||
end,
|
||||
opts = {}
|
||||
}
|
||||
Reference in New Issue
Block a user