Compare commits
4 commits
26a0008b64
...
0d16da2b31
Author | SHA1 | Date | |
---|---|---|---|
0d16da2b31 | |||
372040d1d7 | |||
4fefdd20b2 | |||
955fd55ff0 |
3 changed files with 37 additions and 3 deletions
|
@ -18,6 +18,7 @@ if status is-interactive
|
|||
# abbr (from 3.6, --universal is removed)
|
||||
abbr -a -- l less
|
||||
abbr -a -- ll 'eza -la --icons --git'
|
||||
abbr -a -- qpv 'qpdfview --unique'
|
||||
|
||||
zoxide init fish | source
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
-----------------------------------------------------------
|
||||
-- Installing plugin manager 'lazy.nvim'
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||
vim.fn.system({
|
||||
"git",
|
||||
"clone",
|
||||
|
@ -131,7 +131,40 @@ require('lazy').setup({
|
|||
},
|
||||
{
|
||||
'folke/trouble.nvim',
|
||||
-- config = function
|
||||
opts = {},
|
||||
cmd = "Trouble",
|
||||
keys = {
|
||||
{
|
||||
"<space>xx",
|
||||
"<cmd>Trouble diagnostics toggle<cr>",
|
||||
desc = "Diagnostics (Trouble)",
|
||||
},
|
||||
{
|
||||
"<space>xX",
|
||||
"<cmd>Trouble diagnostics toggle filter.buf=0<cr>",
|
||||
desc = "Buffer Diagnostics (Trouble)",
|
||||
},
|
||||
{
|
||||
"<space>cs",
|
||||
"<cmd>Trouble symbols toggle focus=false<cr>",
|
||||
desc = "Symbols (Trouble)",
|
||||
},
|
||||
{
|
||||
"<space>cl",
|
||||
"<cmd>Trouble lsp toggle focus=false win.position=bottom<cr>",
|
||||
desc = "LSP Definitions / references / ... (Trouble)",
|
||||
},
|
||||
{
|
||||
"<space>xL",
|
||||
"<cmd>Trouble loclist toggle<cr>",
|
||||
desc = "Location List (Trouble)",
|
||||
},
|
||||
{
|
||||
"<space>xQ",
|
||||
"<cmd>Trouble qflist toggle<cr>",
|
||||
desc = "Quickfix List (Trouble)",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
'Julian/lean.nvim',
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
-- https://qiita.com/uhooi/items/99aeff822d4870a8e269
|
||||
local lsp_names = function ()
|
||||
local clients = {}
|
||||
for _, client in ipairs(vim.lsp.get_active_clients({ bufnr = 0})) do
|
||||
for _, client in ipairs(vim.lsp.get_clients({ bufnr = 0})) do
|
||||
table.insert(clients, client.name)
|
||||
end
|
||||
return ' ' .. table.concat(clients, ', ')
|
||||
|
|
Loading…
Add table
Reference in a new issue