* feat: quickfix (not implemented)
* [WIP]: Wed 09 Dec 2020 11:11:30 PM EST
* somewhat working linked list impl
* getting closer
* might be working
* might be working for real
* works and implemented basic example
* dont forget to close prompt
* fix descending and add more tests
* test fixes
* fix test
* more logging
* Fix some more tests
* Fix logging messing up tests
* fix: lint
* fix: multi select stuffs
* refactor telescope command
* addd telescope default options support
* fix variable name wrong
* convert command line string to lua type
* add comment.
* update readme for use theme in commandline
* enhance complete in commandline
* enhance complete in commandline
* enhance covert commandline options
Configure preview window with:
autocmd User TelescopePreviewerLoaded setlocal wrap
autocmd User TelescopePreviewerLoaded setlocal number
file_maker example: Use regex highlighting for certain filetype like `*min.js` because they slow
down things with treesitter highlighter. Just a snippet for tests. We will do an extension :)
local previewers = require('telescope.previewers')
local putils = require('telescope.previewers.utils')
local pfiletype = require('plenary.filetype')
local _bad = { '.*%.min%.js' }
local bad_files = function(filepath)
for _, v in ipairs(_bad) do
if filepath:match(v) then
return true
end
end
return false
end
local new_maker = function(filepath, bufnr, bufname, use_ft_detect, callback)
if use_ft_detect == nil then use_ft_detect = true end
if bad_files(filepath) then
previewers.buffer_previewer_maker(filepath, bufnr, bufname, false, callback)
local ft = pfiletype.detect(filepath)
putils.regex_highlighter(bufnr, ft)
else
previewers.buffer_previewer_maker(filepath, bufnr, bufname, use_ft_detect, callback)
end
end
require('telescope').setup {
defaults = {
buffer_previewer_maker = new_maker,
}
}
* check server capabilities before using LSP finders
* client indices do not always start at [1]
* succeed on first supported client
* use apply_checks method
* removed debug comment
* rename mappings table
* add vim hl_groups for autocmds finder
* spacing
* add displayer/colouring for git_commits
* LSP colouring and restore filename for workspace symbols
* resolve review issues.
* fix: handle 'show_line', 'ignore_filename', 'hide_filename'
* fix lsp workspace defaults
* allow for setting show_line when ignore filename is true
* move lsp_doc_symbol lineinfo to 2nd column
* reformat treesitter display to match LSP
* use utility functions for setting opts defaults
* add fix-me note for unlikely configuration permutation
* use hl_chars format for inline lineinfo