Changed some keymaps for macros
This commit is contained in:
@ -14,11 +14,13 @@ return require'packer'.startup(function()
|
||||
-----------------------------------------------------------------
|
||||
|
||||
-- Easy Way to install Language Servers
|
||||
use {
|
||||
'williamboman/mason.nvim',
|
||||
'williamboman/mason-lspconfig.nvim',
|
||||
'neovim/nvim-lspconfig',
|
||||
use { 'williamboman/mason.nvim',
|
||||
config = function()
|
||||
require("mason").setup()
|
||||
end
|
||||
}
|
||||
use 'williamboman/mason-lspconfig.nvim'
|
||||
use 'neovim/nvim-lspconfig'
|
||||
|
||||
-- Manage all your Keymaps!
|
||||
use {
|
||||
@ -39,13 +41,13 @@ return require'packer'.startup(function()
|
||||
'hrsh7th/cmp-cmdline',
|
||||
'hrsh7th/nvim-cmp',
|
||||
'saadparwaiz1/cmp_luasnip',
|
||||
'hrsh7th/cmp-nvim-lsp-signature-help',
|
||||
'f3fora/cmp-spell',
|
||||
}
|
||||
}
|
||||
use ({
|
||||
'L3MON4D3/LuaSnip',
|
||||
requires = {
|
||||
'saadparwaiz1/cmp_luasnip'
|
||||
}
|
||||
'L3MON4D3/LuaSnip', tag = "v1.1.0",
|
||||
wants = { "friendly-snippets", "vim-snippets" },
|
||||
})
|
||||
|
||||
-- Treesitter interface
|
||||
@ -67,7 +69,7 @@ return require'packer'.startup(function()
|
||||
config = function() require("tmux").setup() end
|
||||
})
|
||||
-- Find & Search LSP Tags
|
||||
--use 'liuchengxu/vista.vim'
|
||||
use 'liuchengxu/vista.vim'
|
||||
|
||||
-- Snippets
|
||||
use 'rafamadriz/friendly-snippets'
|
||||
@ -136,11 +138,12 @@ return require'packer'.startup(function()
|
||||
|
||||
|
||||
-- Markdown Preview
|
||||
--[[ use({
|
||||
"iamcco/markdown-preview.nvim",
|
||||
run = function() vim.fn["mkdp#util#install"]() end,
|
||||
})
|
||||
--]]
|
||||
-- use({
|
||||
-- "iamcco/markdown-preview.nvim",
|
||||
-- run = function() vim.fn["mkdp#util#install"]() end,
|
||||
--})
|
||||
use({ "iamcco/markdown-preview.nvim", run = "cd app && npm install", setup = function() vim.g.mkdp_filetypes = { "markdown" } end, ft = { "markdown" }, })
|
||||
|
||||
|
||||
-- use 'chentoast/marks.nvim'
|
||||
|
||||
@ -170,6 +173,20 @@ return require'packer'.startup(function()
|
||||
requires = "nvim-lua/plenary.nvim",
|
||||
config = function()
|
||||
require('todo-comments').setup({
|
||||
keywords = {
|
||||
FIX = {
|
||||
icon = " ", -- icon used for the sign, and in search results
|
||||
color = "error", -- can be a hex color, or a named color (see below)
|
||||
alt = { "FIXME", "BUG", "FIXIT", "ISSUE" }, -- a set of other keywords that all map to this FIX keywords
|
||||
-- signs = false, -- configure signs for some keywords individually
|
||||
},
|
||||
DONE = { icon = " ", color = "info" },
|
||||
FEAT = { icon = " ", color = "warning", alt = { "NEED", "REQUEST" } },
|
||||
WARN = { icon = " ", color = "warning", alt = { "WARNING", "ERROR" } },
|
||||
TASK = { icon = " ", color = "hint", alt = { "TODO", "TBD" } },
|
||||
NOTE = { icon = " ", color = "hint", alt = { "INFO" } },
|
||||
SENG = { icon = " ", color = "test", alt = { "SOLUTIONS", "SE", "WORKAROUND" } },
|
||||
},
|
||||
highlight = {
|
||||
comments_only = false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user