nvim: converted all double quotes to single quotes
This commit is contained in:
parent
e996dfedf0
commit
4f55c742ad
1 changed files with 33 additions and 35 deletions
|
@ -19,7 +19,7 @@ return require('packer').startup(function()
|
|||
use { -- treesitter: syntax highlighting and more
|
||||
'nvim-treesitter/nvim-treesitter', run = ':TSUpdate',
|
||||
config = function()
|
||||
require("blake.lsp").treesitter()
|
||||
require('blake.lsp').treesitter()
|
||||
end,
|
||||
}
|
||||
use { -- onedark theme
|
||||
|
@ -36,51 +36,49 @@ return require('packer').startup(function()
|
|||
-- IDE features
|
||||
---- LSP
|
||||
use { -- lsp installer
|
||||
"kabouzeid/nvim-lspinstall",
|
||||
-- opt = true,
|
||||
-- setup = function()
|
||||
-- require("blake.other").packer_lazy_load "nvim-lspinstall"
|
||||
-- -- reload the current file so lsp actually starts for it
|
||||
-- vim.defer_fn(function()
|
||||
-- vim.cmd "silent! e %"
|
||||
-- end, 0)
|
||||
-- end,
|
||||
'kabouzeid/nvim-lspinstall',
|
||||
setup = function()
|
||||
-- reload the current file so lsp actually starts for it
|
||||
vim.defer_fn(function()
|
||||
vim.cmd 'silent! e %'
|
||||
end, 0)
|
||||
end,
|
||||
}
|
||||
use { -- Default LSP configs
|
||||
"neovim/nvim-lspconfig",
|
||||
after = "nvim-lspinstall",
|
||||
'neovim/nvim-lspconfig',
|
||||
after = 'nvim-lspinstall',
|
||||
config = function()
|
||||
require("blake.lsp").lspconfig()
|
||||
require('blake.lsp').lspconfig()
|
||||
end
|
||||
}
|
||||
use { -- Icons for each entry in the completion menu
|
||||
"onsails/lspkind-nvim",
|
||||
'onsails/lspkind-nvim',
|
||||
}
|
||||
use { -- compe
|
||||
"hrsh7th/nvim-cmp",
|
||||
'hrsh7th/nvim-cmp',
|
||||
config = function()
|
||||
require('blake.lsp').cmp()
|
||||
end,
|
||||
requires = { -- nvim-cmp sources
|
||||
"hrsh7th/cmp-path",
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
"hrsh7th/cmp-buffer",
|
||||
"hrsh7th/cmp-nvim-lua",
|
||||
"hrsh7th/cmp-latex-symbols",
|
||||
"hrsh7th/cmp-emoji",
|
||||
"hrsh7th/cmp-calc",
|
||||
"hrsh7th/cmp-look",
|
||||
'hrsh7th/cmp-path',
|
||||
'hrsh7th/cmp-nvim-lsp',
|
||||
'hrsh7th/cmp-buffer',
|
||||
'hrsh7th/cmp-nvim-lua',
|
||||
'hrsh7th/cmp-latex-symbols',
|
||||
'hrsh7th/cmp-emoji',
|
||||
'hrsh7th/cmp-calc',
|
||||
'hrsh7th/cmp-look',
|
||||
}
|
||||
}
|
||||
use { -- function parameter previews
|
||||
"ray-x/lsp_signature.nvim",
|
||||
after = "nvim-lspconfig",
|
||||
'ray-x/lsp_signature.nvim',
|
||||
after = 'nvim-lspconfig',
|
||||
config = function()
|
||||
require("blake.lsp").signature()
|
||||
require('blake.lsp').signature()
|
||||
end,
|
||||
}
|
||||
use { -- Use the percent (%) key for more things
|
||||
"andymass/vim-matchup",
|
||||
'andymass/vim-matchup',
|
||||
}
|
||||
use { -- ALE: Support for lots of linters, etc
|
||||
'dense-analysis/ale',
|
||||
|
@ -108,13 +106,13 @@ return require('packer').startup(function()
|
|||
end
|
||||
}
|
||||
use { -- terminal
|
||||
"akinsho/toggleterm.nvim",
|
||||
'akinsho/toggleterm.nvim',
|
||||
config = function()
|
||||
require('blake.other').toggleterm()
|
||||
end
|
||||
}
|
||||
use { -- Smooth Scrolling
|
||||
"karb94/neoscroll.nvim",
|
||||
'karb94/neoscroll.nvim',
|
||||
config = function()
|
||||
require('blake.other').neoscroll()
|
||||
end,
|
||||
|
@ -132,15 +130,15 @@ return require('packer').startup(function()
|
|||
|
||||
---- DAP (Debug Adapter Protocol)
|
||||
use { -- nvim-dap: DAP support
|
||||
"mfussenegger/nvim-dap",
|
||||
'mfussenegger/nvim-dap',
|
||||
config = function()
|
||||
require("blake.lsp").dap()
|
||||
require('blake.lsp').nvim_dap()
|
||||
end
|
||||
}
|
||||
use { -- DAP adapter installer
|
||||
"Pocco81/DAPInstall.nvim",
|
||||
'Pocco81/DAPInstall.nvim',
|
||||
config = function()
|
||||
require("blake.lsp").dapinstall()
|
||||
require('blake.dap').dapinstall()
|
||||
end
|
||||
}
|
||||
use { -- Print Variable names while debugging
|
||||
|
@ -161,7 +159,7 @@ return require('packer').startup(function()
|
|||
'mbbill/undotree',
|
||||
config = function()
|
||||
vim.cmd 'nnoremap <F5> <cmd>UndotreeToggle<CR>'
|
||||
vim.api.nvim_set_keymap("n", "<F5>", "<cmd>UndotreeToggle<CR>", { noremap = true, silent = true, })
|
||||
vim.api.nvim_set_keymap('n', '<F5>', '<cmd>UndotreeToggle<CR>', { noremap = true, silent = true, })
|
||||
end
|
||||
}
|
||||
use { -- Quote pairing
|
||||
|
@ -171,7 +169,7 @@ return require('packer').startup(function()
|
|||
'junegunn/vim-easy-align',
|
||||
}
|
||||
use { -- cheat.sh integration
|
||||
"dbeniamine/cheat.sh-vim",
|
||||
'dbeniamine/cheat.sh-vim',
|
||||
}
|
||||
use { -- tpope: Quote/parenthesis changing
|
||||
'tpope/vim-surround'
|
||||
|
|
Loading…
Add table
Reference in a new issue