From 697137186d1c7dd41d818d3481f23db6925567d8 Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Mon, 4 Sep 2023 03:11:26 +0200 Subject: [PATCH] Add github links in configs --- lua/config/aerial.lua | 2 ++ lua/config/autopairs.lua | 2 ++ lua/config/bufferline.lua | 2 ++ lua/config/cmp.lua | 2 ++ lua/config/comment.lua | 2 ++ lua/config/dap.lua | 2 ++ lua/config/dap_ui.lua | 2 ++ lua/config/flog.lua | 2 ++ lua/config/fugitive.lua | 2 ++ lua/config/gitsigns.lua | 2 ++ lua/config/indentLine.lua | 2 ++ lua/config/lsp_signature.lua | 2 ++ lua/config/lualine.lua | 2 ++ lua/config/luasnip.lua | 2 ++ lua/config/mason.lua | 2 ++ lua/config/mason_lspconfig.lua | 2 ++ lua/config/notify.lua | 2 ++ lua/config/telescope.lua | 2 ++ lua/config/tree.lua | 2 ++ lua/config/treesitter.lua | 2 ++ lua/config/vscode.lua | 2 ++ lua/config/winresizer.lua | 2 ++ lua/config/winshift.lua | 2 ++ 23 files changed, 46 insertions(+) diff --git a/lua/config/aerial.lua b/lua/config/aerial.lua index 5315972..2369bad 100644 --- a/lua/config/aerial.lua +++ b/lua/config/aerial.lua @@ -14,6 +14,8 @@ limitations under the License. ]] +-- https://github.com/stevearc/aerial.nvim + require("aerial").setup({ -- Priority list of preferred backends for aerial. -- This can be a filetype map (see :help aerial-filetype-map) diff --git a/lua/config/autopairs.lua b/lua/config/autopairs.lua index d295a80..8a62b85 100644 --- a/lua/config/autopairs.lua +++ b/lua/config/autopairs.lua @@ -14,6 +14,8 @@ limitations under the License. ]] +-- https://github.com/windwp/nvim-autopairs + require("nvim-autopairs").setup({ disable_filetype = { "TelescopePrompt", }, disable_in_macro = false, -- disable when recording or executing a macro diff --git a/lua/config/bufferline.lua b/lua/config/bufferline.lua index 164aa3b..506edf7 100644 --- a/lua/config/bufferline.lua +++ b/lua/config/bufferline.lua @@ -14,6 +14,8 @@ limitations under the License. ]] +-- https://github.com/akinsho/bufferline.nvim + --- Define what filetypes should be ignored by bufferline. --- Filetypes not listed are enabled by default. local ft_map = { diff --git a/lua/config/cmp.lua b/lua/config/cmp.lua index 2e3abf3..4c3f2d5 100644 --- a/lua/config/cmp.lua +++ b/lua/config/cmp.lua @@ -14,6 +14,8 @@ limitations under the License. ]] +-- https://github.com/hrsh7th/nvim-cmp + local has_words_before = function () unpack = unpack or table.unpack local line, col = unpack(vim.api.nvim_win_get_cursor(0)) diff --git a/lua/config/comment.lua b/lua/config/comment.lua index 988d8b6..3528e6d 100644 --- a/lua/config/comment.lua +++ b/lua/config/comment.lua @@ -14,6 +14,8 @@ limitations under the License. ]] +-- https://github.com/numToStr/Comment.nvim + require("Comment").setup( { ---Add a space b/w comment and the line diff --git a/lua/config/dap.lua b/lua/config/dap.lua index f958454..6cdd226 100644 --- a/lua/config/dap.lua +++ b/lua/config/dap.lua @@ -14,6 +14,8 @@ limitations under the License. ]] +-- https://github.com/mfussenegger/nvim-dap + vim.fn.execute("nnoremap :lua require'dap'.continue()") vim.fn.execute("nnoremap :lua require'dap'.step_over()") vim.fn.execute("nnoremap :lua require'dap'.step_into()") diff --git a/lua/config/dap_ui.lua b/lua/config/dap_ui.lua index ed9a3df..3e1fec8 100644 --- a/lua/config/dap_ui.lua +++ b/lua/config/dap_ui.lua @@ -14,6 +14,8 @@ limitations under the License. ]] +-- https://github.com/rcarriga/nvim-dap-ui + require("dapui").setup({ icons = { expanded = "▾", collapsed = "▸", }, mappings = { diff --git a/lua/config/flog.lua b/lua/config/flog.lua index 1fe731c..5ce72b5 100644 --- a/lua/config/flog.lua +++ b/lua/config/flog.lua @@ -14,4 +14,6 @@ limitations under the License. ]] +-- https://github.com/rbong/vim-flog + vim.keymap.set("n", "gl", ":Flog", { remap = false, silent = true, }) diff --git a/lua/config/fugitive.lua b/lua/config/fugitive.lua index ae3627f..7940c95 100644 --- a/lua/config/fugitive.lua +++ b/lua/config/fugitive.lua @@ -14,6 +14,8 @@ limitations under the License. ]] +-- https://github.com/tpope/vim-fugitive + local function git_status_tab() vim.fn.execute("tabnew") vim.fn.execute("leftabove vertical G | vertical resize 60 | set wfw") diff --git a/lua/config/gitsigns.lua b/lua/config/gitsigns.lua index 40527c6..e47a4f7 100644 --- a/lua/config/gitsigns.lua +++ b/lua/config/gitsigns.lua @@ -14,6 +14,8 @@ limitations under the License. ]] +-- https://github.com/lewis6991/gitsigns.nvim + require("gitsigns").setup( { on_attach = function (bufnr) diff --git a/lua/config/indentLine.lua b/lua/config/indentLine.lua index 4d97475..f875728 100644 --- a/lua/config/indentLine.lua +++ b/lua/config/indentLine.lua @@ -14,6 +14,8 @@ limitations under the License. ]] +-- https://github.com/Yggdroot/indentLine + -- more options at https://www.jetbrains.com/lp/mono/ vim.g.indentLine_char = "▏" -- Disable conceal for some syntax plugins diff --git a/lua/config/lsp_signature.lua b/lua/config/lsp_signature.lua index 4626753..5fc3cb1 100644 --- a/lua/config/lsp_signature.lua +++ b/lua/config/lsp_signature.lua @@ -14,4 +14,6 @@ limitations under the License. ]] +-- https://github.com/ray-x/lsp_signature.nvim + require("lsp_signature").setup() diff --git a/lua/config/lualine.lua b/lua/config/lualine.lua index 61f01db..102be17 100644 --- a/lua/config/lualine.lua +++ b/lua/config/lualine.lua @@ -14,6 +14,8 @@ limitations under the License. ]] +-- https://github.com/nvim-lualine/lualine.nvim + --- @param trunc_width number trunctates component when screen width is less then trunc_width --- @param trunc_len number truncates component to trunc_len number of chars --- @param hide_width number hides component when window width is smaller then hide_width diff --git a/lua/config/luasnip.lua b/lua/config/luasnip.lua index 47fd88e..af2a475 100644 --- a/lua/config/luasnip.lua +++ b/lua/config/luasnip.lua @@ -14,6 +14,8 @@ limitations under the License. ]] +-- https://github.com/L3MON4D3/LuaSnip + -- local ls = require"luasnip" -- local s = ls.snippet -- local sn = ls.snippet_node diff --git a/lua/config/mason.lua b/lua/config/mason.lua index 1054597..6a6be87 100644 --- a/lua/config/mason.lua +++ b/lua/config/mason.lua @@ -14,4 +14,6 @@ limitations under the License. ]] +-- https://github.com/williamboman/mason.nvim + require("mason").setup() diff --git a/lua/config/mason_lspconfig.lua b/lua/config/mason_lspconfig.lua index 1be4a8e..71cd026 100644 --- a/lua/config/mason_lspconfig.lua +++ b/lua/config/mason_lspconfig.lua @@ -14,6 +14,8 @@ limitations under the License. ]] +-- https://github.com/williamboman/mason-lspconfig.nvim + require("mason-lspconfig").setup({ -- A list of servers to automatically install if they're not already installed. Example: { "rust_analyzer@nightly", "lua_ls" } -- This setting has no relation with the `automatic_installation` setting. diff --git a/lua/config/notify.lua b/lua/config/notify.lua index 5e7190e..7d263b9 100644 --- a/lua/config/notify.lua +++ b/lua/config/notify.lua @@ -14,5 +14,7 @@ limitations under the License. ]] +-- https://github.com/rcarriga/nvim-notify + vim.notify = require("notify") require("telescope").load_extension("notify") diff --git a/lua/config/telescope.lua b/lua/config/telescope.lua index 7a7f6d7..e5566ae 100644 --- a/lua/config/telescope.lua +++ b/lua/config/telescope.lua @@ -14,6 +14,8 @@ limitations under the License. ]] +-- https://github.com/nvim-telescope/telescope.nvim + local builtin = require("telescope.builtin") vim.keymap.set( diff --git a/lua/config/tree.lua b/lua/config/tree.lua index 140b30c..3ab9ee9 100644 --- a/lua/config/tree.lua +++ b/lua/config/tree.lua @@ -14,6 +14,8 @@ limitations under the License. ]] +-- https://github.com/nvim-tree/nvim-tree.lua + local nvim_tree = require("nvim-tree") nvim_tree.setup({ diff --git a/lua/config/treesitter.lua b/lua/config/treesitter.lua index 413c5dd..980a3a8 100644 --- a/lua/config/treesitter.lua +++ b/lua/config/treesitter.lua @@ -14,6 +14,8 @@ limitations under the License. ]] +-- https://github.com/nvim-treesitter/nvim-treesitter + require("nvim-treesitter.configs").setup({ -- One of "all", "maintained" (parsers with maintainers), or a list of languages ensure_installed = { diff --git a/lua/config/vscode.lua b/lua/config/vscode.lua index 133f1df..90befad 100644 --- a/lua/config/vscode.lua +++ b/lua/config/vscode.lua @@ -14,6 +14,8 @@ limitations under the License. ]] +-- https://github.com/Mofiqul/vscode.nvim + local vscode = require("vscode") vscode.setup({ diff --git a/lua/config/winresizer.lua b/lua/config/winresizer.lua index d862d91..94e8830 100644 --- a/lua/config/winresizer.lua +++ b/lua/config/winresizer.lua @@ -14,6 +14,8 @@ limitations under the License. ]] +-- https://github.com/simeji/winresizer + vim.g.winresizer_vert_resize = "5" vim.g.winresizer_horiz_resize = "5" vim.g.winresizer_start_key = "" diff --git a/lua/config/winshift.lua b/lua/config/winshift.lua index f99d8a7..d3e7552 100644 --- a/lua/config/winshift.lua +++ b/lua/config/winshift.lua @@ -14,4 +14,6 @@ limitations under the License. ]] +-- https://github.com/sindrets/winshift.nvim + vim.keymap.set("n", "m", ":WinShift", { remap = false, })