add nvim configs

This commit is contained in:
fbachus
2024-11-08 18:51:43 +01:00
parent 5b7602dc6a
commit fae4da8315
46 changed files with 1344 additions and 0 deletions

View 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,
}

View File

@@ -0,0 +1,8 @@
return {
'saecki/crates.nvim',
event = { "BufRead Cargo.toml" },
lazy = true,
config = function()
require('crates').setup()
end,
}

View 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,
},
}

View File

@@ -0,0 +1,9 @@
return {
{ "gennaro-tedesco/nvim-possession",
dependencies = {
"ibhagwan/fzf-lua",
},
lazy = true,
config = true,
},
}

View 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 },
}

View 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>" },
},
}

View File

@@ -0,0 +1,9 @@
return {
"folke/which-key.nvim",
event = "VeryLazy",
init = function()
vim.o.timeout = true
vim.o.timeoutlen = 100
end,
opts = {}
}