nvim: converted all double quotes to single quotes

This commit is contained in:
PowerUser64 2021-09-27 20:29:55 -07:00
parent e996dfedf0
commit 4f55c742ad

View file

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