mirror of
https://github.com/ray-x/navigator.lua
synced 2024-11-05 12:00:21 +00:00
bug fix for log level, update README
This commit is contained in:
parent
f46d8adf09
commit
fc98753bf1
@ -10,6 +10,7 @@ Easy code navigation.
|
||||
- fzy search with Lua-JIT
|
||||
- Better navigation for diagnostic errors, Navigate through files that contain errors/warnings
|
||||
- Group references/implementation/incomming/outgoing based on file names.
|
||||
- Nerdfont for LSP kind
|
||||
|
||||
# Why a new plugin
|
||||
|
||||
@ -59,6 +60,10 @@ Use <c-e> or `:q!` to kill the floating window, <up/down> to move and <c-o> to o
|
||||
|
||||
![reference](https://github.com/ray-x/files/blob/master/img/navigator/ref.gif?raw=true)
|
||||
|
||||
### Document Symbol
|
||||
|
||||
![document symbol](https://github.com/ray-x/files/blob/master/img/navigator/doc_symbol.gif?raw=true)
|
||||
|
||||
### Diagnostic
|
||||
|
||||
![diagnostic](https://github.com/ray-x/files/blob/master/img/navigator/diag.jpg?raw=true)
|
||||
|
@ -1,7 +1,7 @@
|
||||
local gui = require "navigator.gui"
|
||||
local M = {}
|
||||
local log = require "navigator.util".log
|
||||
local verbose = require "navigator.util".trace
|
||||
local verbose = require "navigator.util".debug
|
||||
local lsphelper = require "navigator.lspwrapper"
|
||||
local locations_to_items = lsphelper.locations_to_items
|
||||
local clone = require "guihua.util".clone
|
||||
@ -107,7 +107,7 @@ function M.document_symbol_handler(err, _, result, _, bufnr)
|
||||
end
|
||||
end
|
||||
end
|
||||
verbose(locations)
|
||||
-- verbose(locations)
|
||||
-- local items = locations_to_items(locations)
|
||||
gui.new_list_view({items = locations, prompt = true, rawdata = true, api = '華 '})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user