From a4a0f3c9d6d4ff7eae4396b849393725e1162d05 Mon Sep 17 00:00:00 2001 From: abs3nt Date: Fri, 3 Mar 2023 11:34:44 -0800 Subject: [PATCH] updates --- lua/lsp_settings.lua | 2 +- lua/plugins.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/lsp_settings.lua b/lua/lsp_settings.lua index b622d89..bbbaf28 100644 --- a/lua/lsp_settings.lua +++ b/lua/lsp_settings.lua @@ -14,7 +14,7 @@ vim.keymap.set('n', 'q', vim.diagnostic.setloclist, opts) -- Use an on_attach function to only map the following keys -- after the language server attaches to the current buffer -local on_attach = function(client, bufnr) +local on_attach = function(_, bufnr) vim.cmd [[autocmd BufWritePre * lua vim.lsp.buf.format()]] -- Enable completion triggered by vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc') diff --git a/lua/plugins.lua b/lua/plugins.lua index d98f687..5798a27 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -92,7 +92,7 @@ return { current_line_blame = true, -- Toggle with `:Gitsigns toggle_current_line_blame` current_line_blame_opts = { virt_text = true, - virt_text_pos = 'right_align', -- 'eol' | 'overlay' | 'right_align' + virt_text_pos = 'eol', -- 'eol' | 'overlay' | 'right_align' delay = 100, ignore_whitespace = false, },