15 lines
366 B
Lua
15 lines
366 B
Lua
local vim = vim
|
|
|
|
-- Create an augroup for Trouble settings
|
|
local lspsaga_augroup = vim.api.nvim_create_augroup("LspsagaSettings", { clear = true })
|
|
|
|
-- Create an autocommand for the Trouble filetype
|
|
vim.api.nvim_create_autocmd("BufWinEnter", {
|
|
pattern = "sagaoutline",
|
|
group = lspsaga_augroup,
|
|
callback = function()
|
|
vim.wo.relativenumber = true
|
|
end,
|
|
})
|
|
|