diff options
Diffstat (limited to '.config/nvim/lua')
-rw-r--r-- | .config/nvim/lua/mango/packer.lua | 16 | ||||
-rw-r--r-- | .config/nvim/lua/mango/remap.lua | 4 | ||||
-rw-r--r-- | .config/nvim/lua/mango/set.lua | 2 |
3 files changed, 11 insertions, 11 deletions
diff --git a/.config/nvim/lua/mango/packer.lua b/.config/nvim/lua/mango/packer.lua index ae250e7..ac0af6c 100644 --- a/.config/nvim/lua/mango/packer.lua +++ b/.config/nvim/lua/mango/packer.lua @@ -6,7 +6,7 @@ return require('packer').startup(function(use) use { 'nvim-telescope/telescope.nvim', tag = '0.1.2', - requires = { {'nvim-lua/plenary.nvim'} } + requires = { { 'nvim-lua/plenary.nvim' } } } use { @@ -17,7 +17,7 @@ return require('packer').startup(function(use) end } - use('nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'}) + use('nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' }) use 'mbbill/undotree' use 'tpope/vim-fugitive' @@ -26,14 +26,14 @@ return require('packer').startup(function(use) branch = 'v2.x', requires = { -- LSP Support - {'neovim/nvim-lspconfig'}, - {'williamboman/mason.nvim'}, - {'williamboman/mason-lspconfig.nvim'}, + { 'neovim/nvim-lspconfig' }, + { 'williamboman/mason.nvim' }, + { 'williamboman/mason-lspconfig.nvim' }, -- Autocompletion - {'hrsh7th/nvim-cmp'}, - {'hrsh7th/cmp-nvim-lsp'}, - {'L3MON4D3/LuaSnip'}, + { 'hrsh7th/nvim-cmp' }, + { 'hrsh7th/cmp-nvim-lsp' }, + { 'L3MON4D3/LuaSnip' }, } } end) diff --git a/.config/nvim/lua/mango/remap.lua b/.config/nvim/lua/mango/remap.lua index bcc34f3..a43ba19 100644 --- a/.config/nvim/lua/mango/remap.lua +++ b/.config/nvim/lua/mango/remap.lua @@ -35,12 +35,12 @@ remap('n', 'n', 'nzzzv') remap('n', 'N', 'Nzzzv') -- Paste and delete without clobbering primary register -remap('x', '<leader>p', '"_dP') +remap('x', '<leader>p', '"_dP') remap('nv', '<leader>d', '"_d') -- Copy to system clipboard remap('nv', '<leader>y', '"+y') -remap('n', '<leader>Y', '"+Y') +remap('n', '<leader>Y', '"+Y') -- Swap the jump-to-mark bindings remap('nv', "'", '`') diff --git a/.config/nvim/lua/mango/set.lua b/.config/nvim/lua/mango/set.lua index d082916..c80970a 100644 --- a/.config/nvim/lua/mango/set.lua +++ b/.config/nvim/lua/mango/set.lua @@ -38,7 +38,7 @@ opt.splitbelow = true -- Disable auto commenting api.nvim_create_autocmd('BufEnter', { callback = function() - opt.formatoptions:remove({'c', 'r', 'o'}) + opt.formatoptions:remove({ 'c', 'r', 'o' }) end, group = augroup, }) |