Add github links in configs
This commit is contained in:
@@ -14,6 +14,8 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- https://github.com/stevearc/aerial.nvim
|
||||||
|
|
||||||
require("aerial").setup({
|
require("aerial").setup({
|
||||||
-- Priority list of preferred backends for aerial.
|
-- Priority list of preferred backends for aerial.
|
||||||
-- This can be a filetype map (see :help aerial-filetype-map)
|
-- This can be a filetype map (see :help aerial-filetype-map)
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- https://github.com/windwp/nvim-autopairs
|
||||||
|
|
||||||
require("nvim-autopairs").setup({
|
require("nvim-autopairs").setup({
|
||||||
disable_filetype = { "TelescopePrompt", },
|
disable_filetype = { "TelescopePrompt", },
|
||||||
disable_in_macro = false, -- disable when recording or executing a macro
|
disable_in_macro = false, -- disable when recording or executing a macro
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- https://github.com/akinsho/bufferline.nvim
|
||||||
|
|
||||||
--- Define what filetypes should be ignored by bufferline.
|
--- Define what filetypes should be ignored by bufferline.
|
||||||
--- Filetypes not listed are enabled by default.
|
--- Filetypes not listed are enabled by default.
|
||||||
local ft_map = {
|
local ft_map = {
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- https://github.com/hrsh7th/nvim-cmp
|
||||||
|
|
||||||
local has_words_before = function ()
|
local has_words_before = function ()
|
||||||
unpack = unpack or table.unpack
|
unpack = unpack or table.unpack
|
||||||
local line, col = unpack(vim.api.nvim_win_get_cursor(0))
|
local line, col = unpack(vim.api.nvim_win_get_cursor(0))
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- https://github.com/numToStr/Comment.nvim
|
||||||
|
|
||||||
require("Comment").setup(
|
require("Comment").setup(
|
||||||
{
|
{
|
||||||
---Add a space b/w comment and the line
|
---Add a space b/w comment and the line
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- https://github.com/mfussenegger/nvim-dap
|
||||||
|
|
||||||
vim.fn.execute("nnoremap <silent> <F5> :lua require'dap'.continue()<CR>")
|
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>")
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- https://github.com/rcarriga/nvim-dap-ui
|
||||||
|
|
||||||
require("dapui").setup({
|
require("dapui").setup({
|
||||||
icons = { expanded = "▾", collapsed = "▸", },
|
icons = { expanded = "▾", collapsed = "▸", },
|
||||||
mappings = {
|
mappings = {
|
||||||
|
|||||||
@@ -14,4 +14,6 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- https://github.com/rbong/vim-flog
|
||||||
|
|
||||||
vim.keymap.set("n", "<leader>gl", ":Flog<CR>", { remap = false, silent = true, })
|
vim.keymap.set("n", "<leader>gl", ":Flog<CR>", { remap = false, silent = true, })
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- https://github.com/tpope/vim-fugitive
|
||||||
|
|
||||||
local function git_status_tab()
|
local function git_status_tab()
|
||||||
vim.fn.execute("tabnew")
|
vim.fn.execute("tabnew")
|
||||||
vim.fn.execute("leftabove vertical G | vertical resize 60 | set wfw")
|
vim.fn.execute("leftabove vertical G | vertical resize 60 | set wfw")
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- https://github.com/lewis6991/gitsigns.nvim
|
||||||
|
|
||||||
require("gitsigns").setup(
|
require("gitsigns").setup(
|
||||||
{
|
{
|
||||||
on_attach = function (bufnr)
|
on_attach = function (bufnr)
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- https://github.com/Yggdroot/indentLine
|
||||||
|
|
||||||
-- more options at https://www.jetbrains.com/lp/mono/
|
-- more options at https://www.jetbrains.com/lp/mono/
|
||||||
vim.g.indentLine_char = "▏"
|
vim.g.indentLine_char = "▏"
|
||||||
-- Disable conceal for some syntax plugins
|
-- Disable conceal for some syntax plugins
|
||||||
|
|||||||
@@ -14,4 +14,6 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- https://github.com/ray-x/lsp_signature.nvim
|
||||||
|
|
||||||
require("lsp_signature").setup()
|
require("lsp_signature").setup()
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
limitations under the License.
|
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_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 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
|
--- @param hide_width number hides component when window width is smaller then hide_width
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- https://github.com/L3MON4D3/LuaSnip
|
||||||
|
|
||||||
-- local ls = require"luasnip"
|
-- local ls = require"luasnip"
|
||||||
-- local s = ls.snippet
|
-- local s = ls.snippet
|
||||||
-- local sn = ls.snippet_node
|
-- local sn = ls.snippet_node
|
||||||
|
|||||||
@@ -14,4 +14,6 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- https://github.com/williamboman/mason.nvim
|
||||||
|
|
||||||
require("mason").setup()
|
require("mason").setup()
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- https://github.com/williamboman/mason-lspconfig.nvim
|
||||||
|
|
||||||
require("mason-lspconfig").setup({
|
require("mason-lspconfig").setup({
|
||||||
-- A list of servers to automatically install if they're not already installed. Example: { "rust_analyzer@nightly", "lua_ls" }
|
-- 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.
|
-- This setting has no relation with the `automatic_installation` setting.
|
||||||
|
|||||||
@@ -14,5 +14,7 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- https://github.com/rcarriga/nvim-notify
|
||||||
|
|
||||||
vim.notify = require("notify")
|
vim.notify = require("notify")
|
||||||
require("telescope").load_extension("notify")
|
require("telescope").load_extension("notify")
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- https://github.com/nvim-telescope/telescope.nvim
|
||||||
|
|
||||||
local builtin = require("telescope.builtin")
|
local builtin = require("telescope.builtin")
|
||||||
|
|
||||||
vim.keymap.set(
|
vim.keymap.set(
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- https://github.com/nvim-tree/nvim-tree.lua
|
||||||
|
|
||||||
local nvim_tree = require("nvim-tree")
|
local nvim_tree = require("nvim-tree")
|
||||||
|
|
||||||
nvim_tree.setup({
|
nvim_tree.setup({
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- https://github.com/nvim-treesitter/nvim-treesitter
|
||||||
|
|
||||||
require("nvim-treesitter.configs").setup({
|
require("nvim-treesitter.configs").setup({
|
||||||
-- One of "all", "maintained" (parsers with maintainers), or a list of languages
|
-- One of "all", "maintained" (parsers with maintainers), or a list of languages
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- https://github.com/Mofiqul/vscode.nvim
|
||||||
|
|
||||||
local vscode = require("vscode")
|
local vscode = require("vscode")
|
||||||
|
|
||||||
vscode.setup({
|
vscode.setup({
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- https://github.com/simeji/winresizer
|
||||||
|
|
||||||
vim.g.winresizer_vert_resize = "5"
|
vim.g.winresizer_vert_resize = "5"
|
||||||
vim.g.winresizer_horiz_resize = "5"
|
vim.g.winresizer_horiz_resize = "5"
|
||||||
vim.g.winresizer_start_key = ""
|
vim.g.winresizer_start_key = ""
|
||||||
|
|||||||
@@ -14,4 +14,6 @@
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
-- https://github.com/sindrets/winshift.nvim
|
||||||
|
|
||||||
vim.keymap.set("n", "<C-W>m", ":WinShift<CR>", { remap = false, })
|
vim.keymap.set("n", "<C-W>m", ":WinShift<CR>", { remap = false, })
|
||||||
|
|||||||
Reference in New Issue
Block a user