diff options
| author | pml68 <pml31@protonmail.com> | 2024-04-24 09:19:34 +0200 |
|---|---|---|
| committer | pml68 <pml31@protonmail.com> | 2024-04-24 09:19:34 +0200 |
| commit | 141d9b25deec11559461c684db0353c92b48e45b (patch) | |
| tree | 416dafcca9f0e46ca855928085c8ef43e8778171 /lua/pml68/configs | |
| parent | style: fix indenting (hopefully) (diff) | |
| download | nvim-141d9b25deec11559461c684db0353c92b48e45b.tar.gz | |
style: fix indenting part 2
Diffstat (limited to '')
| -rw-r--r-- | lua/pml68/configs/cmp.lua | 12 | ||||
| -rw-r--r-- | lua/pml68/configs/dap.lua | 6 | ||||
| -rw-r--r-- | lua/pml68/configs/lspconfig.lua | 2 | ||||
| -rw-r--r-- | lua/pml68/configs/mason.lua | 2 | ||||
| -rw-r--r-- | lua/pml68/configs/settings/elixirls.lua | 2 | ||||
| -rw-r--r-- | lua/pml68/configs/settings/lua_ls.lua | 22 | ||||
| -rwxr-xr-x | lua/pml68/configs/settings/pyright.lua | 18 | ||||
| -rw-r--r-- | lua/pml68/configs/toggleterm.lua | 6 |
8 files changed, 35 insertions, 35 deletions
diff --git a/lua/pml68/configs/cmp.lua b/lua/pml68/configs/cmp.lua index 5954499..91d1b5e 100644 --- a/lua/pml68/configs/cmp.lua +++ b/lua/pml68/configs/cmp.lua @@ -3,23 +3,23 @@ local cmp = require("cmp") cmp.setup({ sources = { {name = 'nvim_lsp'}, - {name = 'path'}, - {name = 'vimtex'}, - {name = 'crates'}, + {name = 'path'}, + {name = 'vimtex'}, + {name = 'crates'}, }, - window = { + window = { completion = { border = "rounded", winhighlight = "Normal:Normal", } }, - preselect = 'item', + preselect = 'item', completion = { completeopt = 'menu,menuone,noinsert' }, mapping = cmp.mapping.preset.insert({ ['<CR>'] = cmp.mapping.confirm({select = true}), - ['<S-Tab>'] = cmp.mapping.select_prev_item({behavior = 'select'}), + ['<S-Tab>'] = cmp.mapping.select_prev_item({behavior = 'select'}), ['<Tab>'] = cmp.mapping.select_next_item({behavior = 'select'}), }), snippet = { diff --git a/lua/pml68/configs/dap.lua b/lua/pml68/configs/dap.lua index f78752e..94563e3 100644 --- a/lua/pml68/configs/dap.lua +++ b/lua/pml68/configs/dap.lua @@ -1,7 +1,7 @@ vim.keymap.set("n", "<leader>db", "<cmd> DapToggleBreakpoint <CR>") vim.keymap.set("n", "<leader>dr", "<cmd> DapContinue <CR>") vim.keymap.set("n", "<leader>dus", function() - local widgets = require("dap.ui.widgets") - local sidebar = widgets.sidebar(widgets.scope) - sidebar.open() + local widgets = require("dap.ui.widgets") + local sidebar = widgets.sidebar(widgets.scope) + sidebar.open() end) diff --git a/lua/pml68/configs/lspconfig.lua b/lua/pml68/configs/lspconfig.lua index 65244b1..cc7c7ad 100644 --- a/lua/pml68/configs/lspconfig.lua +++ b/lua/pml68/configs/lspconfig.lua @@ -15,7 +15,7 @@ local servers = { "dartls", "kotlin_language_server", "lua_ls", - "elixirls", + "elixirls", "glsl_analyzer" } diff --git a/lua/pml68/configs/mason.lua b/lua/pml68/configs/mason.lua index c6428ef..d34f6cc 100644 --- a/lua/pml68/configs/mason.lua +++ b/lua/pml68/configs/mason.lua @@ -15,7 +15,7 @@ return { "pyright", "rust-analyzer", "glsl_analyzer", - "elixir-ls", + "elixir-ls", "kotlin-language-server" }, PATH = "skip", diff --git a/lua/pml68/configs/settings/elixirls.lua b/lua/pml68/configs/settings/elixirls.lua index e124260..c724eea 100644 --- a/lua/pml68/configs/settings/elixirls.lua +++ b/lua/pml68/configs/settings/elixirls.lua @@ -1,3 +1,3 @@ return { - cmd = {vim.fn.stdpath("data") .. "/mason/bin/elixir-ls"}, + cmd = {vim.fn.stdpath("data") .. "/mason/bin/elixir-ls"}, } diff --git a/lua/pml68/configs/settings/lua_ls.lua b/lua/pml68/configs/settings/lua_ls.lua index 943eaec..e4de5f2 100644 --- a/lua/pml68/configs/settings/lua_ls.lua +++ b/lua/pml68/configs/settings/lua_ls.lua @@ -2,17 +2,17 @@ return { settings = { Lua = { diagnostics = { - globals = { "vim " }, - }, - workspace = { - library = { - [vim.fn.expand "$VIMRUNTIME/lua"] = true, - [vim.fn.expand "$VIMRUNTIME/lua/vim/lsp"] = true, - [vim.fn.stdpath "data" .. "/lazy/lazy.nvim/lua/lazy"] = true, - }, - maxPreload = 100000, - preloadFileSize = 10000, - } + globals = { "vim " }, + }, + workspace = { + library = { + [vim.fn.expand "$VIMRUNTIME/lua"] = true, + [vim.fn.expand "$VIMRUNTIME/lua/vim/lsp"] = true, + [vim.fn.stdpath "data" .. "/lazy/lazy.nvim/lua/lazy"] = true, + }, + maxPreload = 100000, + preloadFileSize = 10000, + } } } } diff --git a/lua/pml68/configs/settings/pyright.lua b/lua/pml68/configs/settings/pyright.lua index 9589fb6..01941ee 100755 --- a/lua/pml68/configs/settings/pyright.lua +++ b/lua/pml68/configs/settings/pyright.lua @@ -1,12 +1,12 @@ return { single_file_support = true, - settings = { - python = { - analysis = { - autoSearchPaths = true, - diagnosticMode = "workspace", - useLibraryCodeForTypes = true, - }, - }, - }, + settings = { + python = { + analysis = { + autoSearchPaths = true, + diagnosticMode = "workspace", + useLibraryCodeForTypes = true, + }, + }, + }, } diff --git a/lua/pml68/configs/toggleterm.lua b/lua/pml68/configs/toggleterm.lua index 2f819cb..997802b 100644 --- a/lua/pml68/configs/toggleterm.lua +++ b/lua/pml68/configs/toggleterm.lua @@ -1,8 +1,8 @@ local Terminal = require('toggleterm.terminal').Terminal local lazygit = Terminal:new({ - cmd = "lazygit", - hidden = true, - direction = "float", + cmd = "lazygit", + hidden = true, + direction = "float", float_opts = { border = "double", }, |
