Restructuring
This commit is contained in:
@@ -42,7 +42,7 @@ Some servers have additional runtime dependencies:
|
|||||||
|
|
||||||
- **bash-language-server**: shellcheck (optional, used for linting)
|
- **bash-language-server**: shellcheck (optional, used for linting)
|
||||||
|
|
||||||
If you don't need some specific language server, and want to get rid of any warning messages, you may either remove them from `lua/lsp/servers/init.lua` or disable them in `lua/lsp/servers/<server>.lua`.
|
If you don't need some specific language server, and want to get rid of any warning messages, you may either remove them from the top of `lua/lsp/init.lua` or disable them in `lua/lsp/config/<server>.lua`.
|
||||||
|
|
||||||
### Clipboard
|
### Clipboard
|
||||||
see `:checkhealth` and `:h clipboard`.
|
see `:checkhealth` and `:h clipboard`.
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ else
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
ok, err = pcall(require, "plugins")
|
ok, err = pcall(require, "plugin")
|
||||||
if not ok then
|
if not ok then
|
||||||
utils.err("Error while loading plugins", module_name)
|
utils.err("Error while loading plugins", module_name)
|
||||||
utils.err(err:gsub("\t", " "), module_name)
|
utils.err(err:gsub("\t", " "), module_name)
|
||||||
|
|||||||
+8
-8
@@ -2,7 +2,7 @@
|
|||||||
"Comment.nvim": { "branch": "master", "commit": "0236521ea582747b58869cb72f70ccfa967d2e89" },
|
"Comment.nvim": { "branch": "master", "commit": "0236521ea582747b58869cb72f70ccfa967d2e89" },
|
||||||
"Jenkinsfile-vim-syntax": { "branch": "master", "commit": "0d05729168ea44d60862f17cffa80024ab30bcc9" },
|
"Jenkinsfile-vim-syntax": { "branch": "master", "commit": "0d05729168ea44d60862f17cffa80024ab30bcc9" },
|
||||||
"LuaSnip": { "branch": "master", "commit": "0b4950a237ce441a6a3a947d501622453f6860ea" },
|
"LuaSnip": { "branch": "master", "commit": "0b4950a237ce441a6a3a947d501622453f6860ea" },
|
||||||
"aerial.nvim": { "branch": "master", "commit": "fc04a097d0b0e828dfd508f9b079774bd072431e" },
|
"aerial.nvim": { "branch": "master", "commit": "f34defe8f5c2d27f49d53fe0269b87a16f1fb1b9" },
|
||||||
"bufdelete.nvim": { "branch": "master", "commit": "07d1f8ba79dec59d42b975a4df1c732b2e4e37b4" },
|
"bufdelete.nvim": { "branch": "master", "commit": "07d1f8ba79dec59d42b975a4df1c732b2e4e37b4" },
|
||||||
"bufferline.nvim": { "branch": "main", "commit": "9961d87bb3ec008213c46ba14b3f384a5f520eb5" },
|
"bufferline.nvim": { "branch": "main", "commit": "9961d87bb3ec008213c46ba14b3f384a5f520eb5" },
|
||||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
|
||||||
"cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" },
|
"cmp_luasnip": { "branch": "master", "commit": "18095520391186d634a0045dacaa346291096566" },
|
||||||
"friendly-snippets": { "branch": "main", "commit": "ebf6d6e83494cdd88a54a429340256f4dbb6a052" },
|
"friendly-snippets": { "branch": "main", "commit": "ebf6d6e83494cdd88a54a429340256f4dbb6a052" },
|
||||||
"gitsigns.nvim": { "branch": "main", "commit": "d927caa075df63bf301d92f874efb72fd22fd3b4" },
|
"gitsigns.nvim": { "branch": "main", "commit": "bf6b0bbc527c546ecd6af2bb9fcd06864ae0852c" },
|
||||||
"indentLine": { "branch": "master", "commit": "b96a75985736da969ac38b72a7716a8c57bdde98" },
|
"indentLine": { "branch": "master", "commit": "b96a75985736da969ac38b72a7716a8c57bdde98" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "2a9354c7d2368d78cbd5575a51a2af5bd8a6ad01" },
|
"lazy.nvim": { "branch": "main", "commit": "2a9354c7d2368d78cbd5575a51a2af5bd8a6ad01" },
|
||||||
"lsp_signature.nvim": { "branch": "master", "commit": "58d4e810801da74c29313da86075d6aea537501f" },
|
"lsp_signature.nvim": { "branch": "master", "commit": "58d4e810801da74c29313da86075d6aea537501f" },
|
||||||
@@ -19,19 +19,19 @@
|
|||||||
"lualine.nvim": { "branch": "master", "commit": "45e27ca739c7be6c49e5496d14fcf45a303c3a63" },
|
"lualine.nvim": { "branch": "master", "commit": "45e27ca739c7be6c49e5496d14fcf45a303c3a63" },
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "dfdd771b792fbb4bad8e057d72558255695aa1a7" },
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "dfdd771b792fbb4bad8e057d72558255695aa1a7" },
|
||||||
"mason-update-all": { "branch": "main", "commit": "007a4085fe5e830b9139313652e1553bf1a9b857" },
|
"mason-update-all": { "branch": "main", "commit": "007a4085fe5e830b9139313652e1553bf1a9b857" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "0942198fb9a998b6ccee36fb8dd7495eb8ba659c" },
|
"mason.nvim": { "branch": "main", "commit": "ee6a7f179ebf8aa9da9d53b1cf1b57d292ea0182" },
|
||||||
"neorg": { "branch": "main", "commit": "20502e50e9087248f6f8ed8d29fae9c849c1c77f" },
|
"neorg": { "branch": "main", "commit": "20502e50e9087248f6f8ed8d29fae9c849c1c77f" },
|
||||||
"nvim-autopairs": { "branch": "master", "commit": "a52fc6eeec116746110b703381777c46d89d9e27" },
|
"nvim-autopairs": { "branch": "master", "commit": "35493556b895f54c129918aca43ae9a63af42a1f" },
|
||||||
"nvim-cmp": { "branch": "main", "commit": "5dce1b778b85c717f6614e3f4da45e9f19f54435" },
|
"nvim-cmp": { "branch": "main", "commit": "5dce1b778b85c717f6614e3f4da45e9f19f54435" },
|
||||||
"nvim-dap": { "branch": "master", "commit": "31e1ece773e10448dcb616d5144290946a6264b7" },
|
"nvim-dap": { "branch": "master", "commit": "31e1ece773e10448dcb616d5144290946a6264b7" },
|
||||||
"nvim-dap-ui": { "branch": "master", "commit": "85b16ac2309d85c88577cd8ee1733ce52be8227e" },
|
"nvim-dap-ui": { "branch": "master", "commit": "85b16ac2309d85c88577cd8ee1733ce52be8227e" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "a27356f1ef9c11e1f459cc96a3fcac5c265e72d6" },
|
"nvim-lspconfig": { "branch": "master", "commit": "0517d8522dcec286b1dba47aa3ee1ed8f523aed6" },
|
||||||
"nvim-notify": { "branch": "master", "commit": "ea9c8ce7a37f2238f934e087c255758659948e0f" },
|
"nvim-notify": { "branch": "master", "commit": "ea9c8ce7a37f2238f934e087c255758659948e0f" },
|
||||||
"nvim-tree.lua": { "branch": "master", "commit": "5897b3622f033b1f3ea6adf8eb1c165e9f20554f" },
|
"nvim-tree.lua": { "branch": "master", "commit": "ec33d4befa74205e09baf8bb4f90be5be754e6ab" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "9d637b7ae8fa17cea8600e91d1145e2095c2a15d" },
|
"nvim-treesitter": { "branch": "master", "commit": "cc56e1f093868892fc7fea68ac3a51f5ffc38728" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "bc11ee2498de2310de5776477dd9dce65d03b464" },
|
"nvim-web-devicons": { "branch": "master", "commit": "bc11ee2498de2310de5776477dd9dce65d03b464" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "0dbe561ae023f02c2fb772b879e905055b939ce3" },
|
"plenary.nvim": { "branch": "master", "commit": "0dbe561ae023f02c2fb772b879e905055b939ce3" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "6b79d7a6a45adc1508a7afee5bc973173ec22f59" },
|
"telescope.nvim": { "branch": "master", "commit": "20a37e43bb43c74c6091f9fea6551af0964ad45a" },
|
||||||
"vim-flog": { "branch": "master", "commit": "58c1d39ec42f92d23a1204b1869e5d1dece8b86c" },
|
"vim-flog": { "branch": "master", "commit": "58c1d39ec42f92d23a1204b1869e5d1dece8b86c" },
|
||||||
"vim-fugitive": { "branch": "master", "commit": "572c8510123cbde02e8a1dafcd376c98e1e13f43" },
|
"vim-fugitive": { "branch": "master", "commit": "572c8510123cbde02e8a1dafcd376c98e1e13f43" },
|
||||||
"vim-startuptime": { "branch": "master", "commit": "454b3de856b7bd298700de33d79774ca9b9e3875" },
|
"vim-startuptime": { "branch": "master", "commit": "454b3de856b7bd298700de33d79774ca9b9e3875" },
|
||||||
|
|||||||
@@ -1,40 +0,0 @@
|
|||||||
--[[
|
|
||||||
Copyright 2023 Oscar Wallberg
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
https://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
]]
|
|
||||||
|
|
||||||
-- https://github.com/stevearc/aerial.nvim
|
|
||||||
|
|
||||||
require("aerial").setup({
|
|
||||||
layout = {
|
|
||||||
min_width = 40,
|
|
||||||
placement = "edge",
|
|
||||||
},
|
|
||||||
disable_max_size = 10000000,
|
|
||||||
highlight_on_hover = true,
|
|
||||||
ignore = {
|
|
||||||
unlisted_buffers = true,
|
|
||||||
},
|
|
||||||
on_attach = function (bufnr)
|
|
||||||
-- Toggle the aerial window with <leader>a
|
|
||||||
vim.api.nvim_buf_set_keymap(bufnr, "n", "<leader>at", "<cmd>AerialToggle!<CR>", {})
|
|
||||||
-- Jump forwards/backwards with '{' and '}'
|
|
||||||
vim.api.nvim_buf_set_keymap(bufnr, "n", "{", "<cmd>AerialPrev<CR>", {})
|
|
||||||
vim.api.nvim_buf_set_keymap(bufnr, "n", "}", "<cmd>AerialNext<CR>", {})
|
|
||||||
-- Jump up the tree with '[[' or ']]'
|
|
||||||
vim.api.nvim_buf_set_keymap(bufnr, "n", "[[", "<cmd>AerialPrevUp<CR>", {})
|
|
||||||
vim.api.nvim_buf_set_keymap(bufnr, "n", "]]", "<cmd>AerialNextUp<CR>", {})
|
|
||||||
end,
|
|
||||||
show_guides = true,
|
|
||||||
})
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
vim.keymap.set(
|
|
||||||
"n",
|
|
||||||
"<leader>q",
|
|
||||||
":Bwipeout<CR>",
|
|
||||||
{ remap = false, silent = true, }
|
|
||||||
)
|
|
||||||
+17
-4
@@ -14,7 +14,7 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
local module_name = "lsp"
|
local package_name = "lsp"
|
||||||
local utils = require("utils")
|
local utils = require("utils")
|
||||||
|
|
||||||
local P = {}
|
local P = {}
|
||||||
@@ -24,7 +24,20 @@ P._language_servers = nil
|
|||||||
|
|
||||||
P.capabilities = {}
|
P.capabilities = {}
|
||||||
|
|
||||||
P.servers = require("lsp.servers")
|
P.servers = {
|
||||||
|
bashls = {},
|
||||||
|
clangd = {},
|
||||||
|
cmake = {},
|
||||||
|
diagnosticls = {},
|
||||||
|
groovyls = {},
|
||||||
|
jedi_language_server = {},
|
||||||
|
lemminx = {},
|
||||||
|
lua_ls = {},
|
||||||
|
}
|
||||||
|
|
||||||
|
for name, _ in pairs(P.servers) do
|
||||||
|
P.servers[name] = require("lsp.config." .. name)
|
||||||
|
end
|
||||||
|
|
||||||
function P._setup_diagnostic()
|
function P._setup_diagnostic()
|
||||||
vim.diagnostic.config({
|
vim.diagnostic.config({
|
||||||
@@ -275,7 +288,7 @@ function P.language_servers(self)
|
|||||||
name,
|
name,
|
||||||
table.concat(not_installed, ", ")
|
table.concat(not_installed, ", ")
|
||||||
),
|
),
|
||||||
module_name
|
package_name
|
||||||
)
|
)
|
||||||
server.enabled = false
|
server.enabled = false
|
||||||
goto next_server
|
goto next_server
|
||||||
@@ -296,7 +309,7 @@ function P.language_servers(self)
|
|||||||
name,
|
name,
|
||||||
table.concat(not_installed, ", ")
|
table.concat(not_installed, ", ")
|
||||||
),
|
),
|
||||||
module_name
|
package_name
|
||||||
)
|
)
|
||||||
server.enabled = false
|
server.enabled = false
|
||||||
goto next_server
|
goto next_server
|
||||||
|
|||||||
@@ -1,34 +0,0 @@
|
|||||||
--[[
|
|
||||||
Copyright 2023 Oscar Wallberg
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
https://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
]]
|
|
||||||
|
|
||||||
local servers = {
|
|
||||||
"bashls",
|
|
||||||
"clangd",
|
|
||||||
"cmake",
|
|
||||||
"diagnosticls",
|
|
||||||
"groovyls",
|
|
||||||
"jedi_language_server",
|
|
||||||
"lemminx",
|
|
||||||
"lua_ls",
|
|
||||||
}
|
|
||||||
|
|
||||||
local manifest = {}
|
|
||||||
|
|
||||||
for _, name in ipairs(servers) do
|
|
||||||
manifest[name] = require("lsp.servers." .. name)
|
|
||||||
end
|
|
||||||
|
|
||||||
return manifest
|
|
||||||
@@ -20,8 +20,8 @@ vim.fn.execute("nnoremap <silent> <F5> :lua require'dap'.continue()<CR>")
|
|||||||
vim.fn.execute("nnoremap <silent> <F10> :lua require'dap'.step_over()<CR>")
|
vim.fn.execute("nnoremap <silent> <F10> :lua require'dap'.step_over()<CR>")
|
||||||
vim.fn.execute("nnoremap <silent> <F11> :lua require'dap'.step_into()<CR>")
|
vim.fn.execute("nnoremap <silent> <F11> :lua require'dap'.step_into()<CR>")
|
||||||
vim.fn.execute("nnoremap <silent> <F12> :lua require'dap'.step_out()<CR>")
|
vim.fn.execute("nnoremap <silent> <F12> :lua require'dap'.step_out()<CR>")
|
||||||
vim.fn.execute("nnoremap <leader>dt :lua require'config.dap'.pytest({'-k', ''})<left><left><left>")
|
vim.fn.execute("nnoremap <leader>dt :lua require'plugin.config.dap'.pytest({'-k', ''})<left><left><left>")
|
||||||
vim.fn.execute("nnoremap <leader>dl :lua require'config.dap'.launch({''})<left><left><left>")
|
vim.fn.execute("nnoremap <leader>dl :lua require'plugin.config.dap'.launch({''})<left><left><left>")
|
||||||
vim.fn.execute("nnoremap <silent> <leader>db :lua require'dap'.toggle_breakpoint()<CR>")
|
vim.fn.execute("nnoremap <silent> <leader>db :lua require'dap'.toggle_breakpoint()<CR>")
|
||||||
-- vim.fn.execute("nnoremap <silent> <leader>B :lua require'dap'.set_breakpoint(vim.fn.input('Breakpoint condition: '))<CR>")
|
-- vim.fn.execute("nnoremap <silent> <leader>B :lua require'dap'.set_breakpoint(vim.fn.input('Breakpoint condition: '))<CR>")
|
||||||
-- vim.fn.execute("nnoremap <silent> <leader>lp :lua require'dap'.set_breakpoint(nil, nil, vim.fn.input('Log point message: '))<CR>")
|
-- vim.fn.execute("nnoremap <silent> <leader>lp :lua require'dap'.set_breakpoint(nil, nil, vim.fn.input('Log point message: '))<CR>")
|
||||||
@@ -21,26 +21,26 @@ local plugins = {
|
|||||||
"Mofiqul/vscode.nvim",
|
"Mofiqul/vscode.nvim",
|
||||||
priority = 1000,
|
priority = 1000,
|
||||||
lazy = false,
|
lazy = false,
|
||||||
config = function () require("config.vscode") end,
|
config = function () require("plugin.config.vscode") end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"rcarriga/nvim-notify",
|
"rcarriga/nvim-notify",
|
||||||
priority = 900,
|
priority = 900,
|
||||||
config = function () require("config.notify") end,
|
config = function () require("plugin.config.notify") end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"rafamadriz/friendly-snippets",
|
"rafamadriz/friendly-snippets",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"L3MON4D3/LuaSnip",
|
"L3MON4D3/LuaSnip",
|
||||||
config = function () require("config.luasnip") end,
|
config = function () require("plugin.config.luasnip") end,
|
||||||
-- comment out on windows and install jsregexp manually
|
-- comment out on windows and install jsregexp manually
|
||||||
build = "make install_jsregexp",
|
build = "make install_jsregexp",
|
||||||
version = "2.*",
|
version = "2.*",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"windwp/nvim-autopairs",
|
"windwp/nvim-autopairs",
|
||||||
config = function () require("config.autopairs") end,
|
config = function () require("plugin.config.autopairs") end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"saadparwaiz1/cmp_luasnip",
|
"saadparwaiz1/cmp_luasnip",
|
||||||
@@ -59,23 +59,23 @@ local plugins = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"hrsh7th/nvim-cmp",
|
"hrsh7th/nvim-cmp",
|
||||||
config = function () require("config.cmp") end,
|
config = function () require("plugin.config.cmp") end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"hrsh7th/cmp-nvim-lsp",
|
"hrsh7th/cmp-nvim-lsp",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"williamboman/mason.nvim",
|
"williamboman/mason.nvim",
|
||||||
config = function () require("config.mason") end,
|
config = function () require("plugin.config.mason") end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"williamboman/mason-lspconfig.nvim",
|
"williamboman/mason-lspconfig.nvim",
|
||||||
config = function () require("config.mason_lspconfig") end,
|
config = function () require("plugin.config.mason_lspconfig") end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ray-x/lsp_signature.nvim",
|
"ray-x/lsp_signature.nvim",
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
config = function () require("config.lsp_signature") end,
|
config = function () require("plugin.config.lsp_signature") end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
@@ -85,42 +85,42 @@ local plugins = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
config = function () require("config.treesitter") end,
|
config = function () require("plugin.config.treesitter") end,
|
||||||
lazy = true,
|
lazy = true,
|
||||||
event = "VimEnter",
|
event = "VimEnter",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"mfussenegger/nvim-dap",
|
"mfussenegger/nvim-dap",
|
||||||
config = function () require("config.dap") end,
|
config = function () require("plugin.config.dap") end,
|
||||||
lazy = true,
|
lazy = true,
|
||||||
ft = require("lsp"):filetypes(),
|
ft = require("lsp"):filetypes(),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"rcarriga/nvim-dap-ui",
|
"rcarriga/nvim-dap-ui",
|
||||||
config = function () require("config.dap_ui") end,
|
config = function () require("plugin.config.dap_ui") end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kyazdani42/nvim-web-devicons",
|
"kyazdani42/nvim-web-devicons",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"tpope/vim-fugitive",
|
"tpope/vim-fugitive",
|
||||||
config = function () require("config.fugitive") end,
|
config = function () require("plugin.config.fugitive") end,
|
||||||
lazy = true,
|
lazy = true,
|
||||||
event = "VimEnter",
|
event = "VimEnter",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"rbong/vim-flog",
|
"rbong/vim-flog",
|
||||||
config = function () require("config.flog") end,
|
config = function () require("plugin.config.flog") end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"nvim-lualine/lualine.nvim",
|
"nvim-lualine/lualine.nvim",
|
||||||
config = function () require("config.lualine") end,
|
config = function () require("plugin.config.lualine") end,
|
||||||
lazy = true,
|
lazy = true,
|
||||||
event = "VimEnter",
|
event = "VimEnter",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"akinsho/bufferline.nvim",
|
"akinsho/bufferline.nvim",
|
||||||
config = function () require("config.bufferline") end,
|
config = function () require("plugin.config.bufferline") end,
|
||||||
lazy = true,
|
lazy = true,
|
||||||
event = "VimEnter",
|
event = "VimEnter",
|
||||||
},
|
},
|
||||||
@@ -129,37 +129,37 @@ local plugins = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lewis6991/gitsigns.nvim",
|
"lewis6991/gitsigns.nvim",
|
||||||
config = function () require("config.gitsigns") end,
|
config = function () require("plugin.config.gitsigns") end,
|
||||||
lazy = true,
|
lazy = true,
|
||||||
event = "VimEnter",
|
event = "VimEnter",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"nvim-telescope/telescope.nvim",
|
"nvim-telescope/telescope.nvim",
|
||||||
config = function () require("config.telescope") end,
|
config = function () require("plugin.config.telescope") end,
|
||||||
lazy = true,
|
lazy = true,
|
||||||
event = "VimEnter",
|
event = "VimEnter",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"numToStr/Comment.nvim",
|
"numToStr/Comment.nvim",
|
||||||
config = function () require("config.comment") end,
|
config = function () require("plugin.config.comment") end,
|
||||||
lazy = true,
|
lazy = true,
|
||||||
event = "VimEnter",
|
event = "VimEnter",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Yggdroot/indentLine",
|
"Yggdroot/indentLine",
|
||||||
config = function () require("config.indentLine") end,
|
config = function () require("plugin.config.indentLine") end,
|
||||||
lazy = true,
|
lazy = true,
|
||||||
event = "VimEnter",
|
event = "VimEnter",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"simeji/winresizer",
|
"simeji/winresizer",
|
||||||
config = function () require("config.winresizer") end,
|
config = function () require("plugin.config.winresizer") end,
|
||||||
lazy = true,
|
lazy = true,
|
||||||
keys = { "<C-W>r", },
|
keys = { "<C-W>r", },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"sindrets/winshift.nvim",
|
"sindrets/winshift.nvim",
|
||||||
config = function () require("config.winshift") end,
|
config = function () require("plugin.config.winshift") end,
|
||||||
lazy = true,
|
lazy = true,
|
||||||
keys = { "<C-W>m", },
|
keys = { "<C-W>m", },
|
||||||
},
|
},
|
||||||
@@ -170,7 +170,7 @@ local plugins = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kyazdani42/nvim-tree.lua",
|
"kyazdani42/nvim-tree.lua",
|
||||||
config = function () require("config.tree") end,
|
config = function () require("plugin.config.tree") end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"dstein64/vim-startuptime",
|
"dstein64/vim-startuptime",
|
||||||
@@ -179,20 +179,20 @@ local plugins = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"stevearc/aerial.nvim",
|
"stevearc/aerial.nvim",
|
||||||
config = function () require("config.aerial") end,
|
config = function () require("plugin.config.aerial") end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"nvim-neorg/neorg",
|
"nvim-neorg/neorg",
|
||||||
build = ":Neorg sync-parsers",
|
build = ":Neorg sync-parsers",
|
||||||
config = function () require("config.neorg") end,
|
config = function () require("plugin.config.neorg") end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"RubixDev/mason-update-all",
|
"RubixDev/mason-update-all",
|
||||||
config = function () require("config.mason_update_all") end,
|
config = function () require("plugin.config.mason_update_all") end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"famiu/bufdelete.nvim",
|
"famiu/bufdelete.nvim",
|
||||||
config = function () require("config.bufdelete") end,
|
config = function () require("plugin.config.bufdelete") end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user