diff options
| author | Ibrahim Muftee <ibrahim@muftee.net> | 2024-04-22 20:29:20 -0500 |
|---|---|---|
| committer | Ibrahim Muftee <ibrahim@muftee.net> | 2026-07-01 00:23:31 -0400 |
| commit | 9120253ce0594cbe4ff0ed2cb2a5f35c750d1b95 (patch) | |
| tree | 6a3d3d9fd8883549d4354985cefb23c99b85087b /dot_config/nvim | |
| parent | 1f3fc4784cec71b2971b8dc51fd6b3d518ffa3fa (diff) | |
style(nvim): ran formatter on lsp file
Diffstat (limited to 'dot_config/nvim')
| -rw-r--r-- | dot_config/nvim/lua/plugins/lsp-zero.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dot_config/nvim/lua/plugins/lsp-zero.lua b/dot_config/nvim/lua/plugins/lsp-zero.lua index a234493..56cbcfd 100644 --- a/dot_config/nvim/lua/plugins/lsp-zero.lua +++ b/dot_config/nvim/lua/plugins/lsp-zero.lua @@ -35,7 +35,7 @@ return { local cmp_action = lsp_zero.cmp_action() cmp.setup({ - formatting = lsp_zero.cmp_format({details = true}), + formatting = lsp_zero.cmp_format({ details = true }), mapping = cmp.mapping.preset.insert({ ['<C-Space>'] = cmp.mapping.complete(), ['<C-u>'] = cmp.mapping.scroll_docs(-8), @@ -50,12 +50,12 @@ return { -- LSP { 'neovim/nvim-lspconfig', - cmd = {'LspInfo', 'LspInstall', 'LspStart'}, - event = {'BufReadPre', 'BufNewFile'}, + cmd = { 'LspInfo', 'LspInstall', 'LspStart' }, + event = { 'BufReadPre', 'BufNewFile' }, dependencies = { { 'hrsh7th/cmp-nvim-lsp' }, { 'williamboman/mason-lspconfig.nvim' }, - { "j-hui/fidget.nvim", tag = "legacy", opts = {} }, + { "j-hui/fidget.nvim", tag = "legacy", opts = {} }, }, config = function() -- This is where all the LSP shenanigans will live @@ -67,7 +67,7 @@ return { lsp_zero.on_attach(function(client, bufnr) -- see :help lsp_zero_keybindings -- to learn the available actions - lsp_zero.default_keymaps({buffer = bufnr}) + lsp_zero.default_keymaps({ buffer = bufnr }) end) require('mason-lspconfig').setup({ |
