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, },