Add initial nvchad config
This commit is contained in:
22
nvim/lua/plugins/crates.lua
Normal file
22
nvim/lua/plugins/crates.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
return {
|
||||
"saecki/crates.nvim",
|
||||
tag = "stable",
|
||||
event = { "BufRead Cargo.toml" },
|
||||
config = function()
|
||||
require("crates").setup{
|
||||
lsp = {
|
||||
enabled = true,
|
||||
actions = true,
|
||||
completion = true,
|
||||
hover = true,
|
||||
},
|
||||
completion = {
|
||||
crates = {
|
||||
enabled = true,
|
||||
max_results = 10,
|
||||
min_chars = 3,
|
||||
},
|
||||
}
|
||||
}
|
||||
end,
|
||||
}
|
||||
7
nvim/lua/plugins/endhints.lua
Normal file
7
nvim/lua/plugins/endhints.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
return {
|
||||
"chrisgrieser/nvim-lsp-endhints",
|
||||
event = "LspAttach",
|
||||
opts = {icons = {
|
||||
type = " ",
|
||||
},},}
|
||||
|
||||
36
nvim/lua/plugins/init.lua
Normal file
36
nvim/lua/plugins/init.lua
Normal file
@@ -0,0 +1,36 @@
|
||||
return {
|
||||
{
|
||||
"stevearc/conform.nvim",
|
||||
-- event = 'BufWritePre', -- uncomment for format on save
|
||||
opts = require "configs.conform",
|
||||
},
|
||||
|
||||
-- These are some examples, uncomment them if you want to see them work!
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
config = function()
|
||||
require "configs.lspconfig"
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
"Pocco81/auto-save.nvim",
|
||||
config = function()
|
||||
require("auto-save").setup()
|
||||
end,
|
||||
lazy = false,
|
||||
},
|
||||
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = require "configs.default-ts",
|
||||
},
|
||||
{
|
||||
"hiphish/rainbow-delimiters.nvim",
|
||||
lazy = false,
|
||||
},
|
||||
{
|
||||
"nvim-tree/nvim-tree.lua",
|
||||
opts = require "configs.nvim-tree",
|
||||
},
|
||||
}
|
||||
7
nvim/lua/plugins/mason-tool-installer.lua
Normal file
7
nvim/lua/plugins/mason-tool-installer.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
return {
|
||||
"WhoIsSethDaniel/mason-tool-installer.nvim",
|
||||
lazy = false,
|
||||
config = function()
|
||||
require("mason-tool-installer").setup(require "configs.default-lsp")
|
||||
end,
|
||||
}
|
||||
19
nvim/lua/plugins/onedarker.lua
Normal file
19
nvim/lua/plugins/onedarker.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
return {
|
||||
"navarasu/onedark.nvim",
|
||||
lazy = false,
|
||||
config = function()
|
||||
require("onedark").setup {
|
||||
style = "darker", -- Default theme style. Choose between 'dark', 'darker', 'cool', 'deep', 'warm', 'warmer' and 'light'
|
||||
toggle_style_key = "<leader>ss",
|
||||
transparent = false, -- Show/hide background
|
||||
|
||||
code_style = {
|
||||
comments = "italic",
|
||||
keywords = "italic,",
|
||||
functions = "bold",
|
||||
strings = "none",
|
||||
variables = "none",
|
||||
},
|
||||
}
|
||||
end,
|
||||
}
|
||||
12
nvim/lua/plugins/project.lua
Normal file
12
nvim/lua/plugins/project.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
return {
|
||||
"ahmedkhalf/project.nvim",
|
||||
lazy = false,
|
||||
config = function()
|
||||
require("telescope").load_extension "projects"
|
||||
require("project_nvim").setup {
|
||||
-- your configuration comes here
|
||||
-- or leave it empty to use the default settings
|
||||
-- refer to the configuration section below
|
||||
}
|
||||
end,
|
||||
}
|
||||
14
nvim/lua/plugins/rustaceanvim.lua
Normal file
14
nvim/lua/plugins/rustaceanvim.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
return {
|
||||
"mrcjkb/rustaceanvim",
|
||||
version = "^5", -- Recommended
|
||||
lazy = false, -- This plugin is already lazy
|
||||
config = function()
|
||||
vim.g.rustaceanvim = {
|
||||
tools = {
|
||||
float_win_config = {
|
||||
border = "rounded",
|
||||
},
|
||||
},
|
||||
}
|
||||
end,
|
||||
}
|
||||
Reference in New Issue
Block a user