Refresh generated nvim config
This commit is contained in:
@ -1,5 +0,0 @@
|
||||
dir1/file1-1
|
||||
|
||||
aaa
|
||||
bbb
|
||||
ccc
|
||||
@ -1,5 +0,0 @@
|
||||
dir1/file1-2
|
||||
|
||||
aaa
|
||||
bbb
|
||||
ccc
|
||||
@ -1,5 +0,0 @@
|
||||
file
|
||||
|
||||
aaa
|
||||
bbb
|
||||
ccc
|
||||
@ -1,17 +0,0 @@
|
||||
vim.cmd('hi DevIconLicense guifg=#111111')
|
||||
vim.cmd('hi DevIconMakefile guifg=#222222')
|
||||
vim.cmd('hi DevIconGif guifg=#333333')
|
||||
vim.cmd('hi DevIconLua guifg=#444444')
|
||||
vim.cmd('hi DevIconTxt guifg=#555555')
|
||||
vim.cmd('hi DevIconDefault guifg=#666666')
|
||||
|
||||
return {
|
||||
get_icon = function(filename, _, options)
|
||||
if filename == 'LICENSE' then return '', 'DevIconLicense' end
|
||||
if filename == 'Makefile' then return '', 'DevIconMakefile' end
|
||||
if vim.endswith(filename, 'gif') then return '', 'DevIconGif' end
|
||||
if vim.endswith(filename, 'lua') then return '', 'DevIconLua' end
|
||||
if vim.endswith(filename, 'txt') then return '', 'DevIconTxt' end
|
||||
if (options or {}).default then return '', 'DevIconDefault' end
|
||||
end,
|
||||
}
|
||||
@ -1,50 +0,0 @@
|
||||
_G.process_log = {}
|
||||
|
||||
local n_pid, n_stdout = 0, 0
|
||||
local new_process = function(pid)
|
||||
return {
|
||||
pid = pid,
|
||||
close = function(_) table.insert(_G.process_log, 'Process ' .. pid .. ' was closed.') end,
|
||||
}
|
||||
end
|
||||
|
||||
-- Mock `stdout` by using global `_G.stdout_data_feed` array as source.
|
||||
-- Each feed's element should be either string (for usable data) or a table
|
||||
-- with `err` field (for error).
|
||||
vim.loop.new_pipe = function()
|
||||
n_stdout = n_stdout + 1
|
||||
local cur_stdout_id = 'Stdout_' .. n_stdout
|
||||
|
||||
return {
|
||||
read_start = function(_, callback)
|
||||
-- It is not possible in Neovim<=0.9 to execute `vim.fn` functions during
|
||||
-- `pipe:read_start()`
|
||||
local vim_fn_orig = vim.deepcopy(vim.fn)
|
||||
vim.fn = setmetatable({}, { __index = function() error('Can not use `vim.fn` during `read_start`.') end })
|
||||
|
||||
for _, x in ipairs(_G.stdout_data_feed or {}) do
|
||||
if type(x) == 'table' then callback(x.err, nil) end
|
||||
if type(x) == 'string' then callback(nil, x) end
|
||||
end
|
||||
callback(nil, nil)
|
||||
|
||||
vim.fn = vim_fn_orig
|
||||
end,
|
||||
close = function() table.insert(_G.process_log, 'Stdout ' .. cur_stdout_id .. ' was closed.') end,
|
||||
}
|
||||
end
|
||||
|
||||
_G.spawn_log = {}
|
||||
vim.loop.spawn = function(path, options, on_exit)
|
||||
local options_without_callables = vim.deepcopy(options)
|
||||
options_without_callables.stdio = nil
|
||||
table.insert(_G.spawn_log, { executable = path, options = options_without_callables })
|
||||
|
||||
vim.schedule(function() on_exit() end)
|
||||
|
||||
n_pid = n_pid + 1
|
||||
local pid = 'Pid_' .. n_pid
|
||||
return new_process(pid), pid
|
||||
end
|
||||
|
||||
vim.loop.process_kill = function(process) table.insert(_G.process_log, 'Process ' .. process.pid .. ' was killed.') end
|
||||
@ -1 +0,0 @@
|
||||
MIT (c)
|
||||
@ -1,3 +0,0 @@
|
||||
VAR ?= 1
|
||||
|
||||
all: test
|
||||
@ -1,5 +0,0 @@
|
||||
local a = 1
|
||||
local t = {
|
||||
x = math.max(1, 2),
|
||||
y = math.min(1, 2),
|
||||
}
|
||||
@ -1,26 +0,0 @@
|
||||
Line 1
|
||||
Line 2
|
||||
Line 3
|
||||
Line 4
|
||||
Line 5
|
||||
Line 6
|
||||
Line 7
|
||||
Line 8
|
||||
Line 9
|
||||
Line 10
|
||||
Line 11
|
||||
Line 12
|
||||
Line 13
|
||||
Line 14
|
||||
Line 15
|
||||
Line 16
|
||||
Line 17
|
||||
Line 18
|
||||
Line 19
|
||||
Line 20
|
||||
Line 21
|
||||
Line 22
|
||||
Line 23
|
||||
Line 24
|
||||
Line 25
|
||||
Line 26
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 137 B |
47
config/neovim/store/nvim-treesitter/doc/tags
Normal file
47
config/neovim/store/nvim-treesitter/doc/tags
Normal file
@ -0,0 +1,47 @@
|
||||
:TSBufDisable nvim-treesitter.txt /*:TSBufDisable*
|
||||
:TSBufEnable nvim-treesitter.txt /*:TSBufEnable*
|
||||
:TSBufToggle nvim-treesitter.txt /*:TSBufToggle*
|
||||
:TSDisable nvim-treesitter.txt /*:TSDisable*
|
||||
:TSEditQuery nvim-treesitter.txt /*:TSEditQuery*
|
||||
:TSEditQueryUserAfter nvim-treesitter.txt /*:TSEditQueryUserAfter*
|
||||
:TSEnable nvim-treesitter.txt /*:TSEnable*
|
||||
:TSInstall nvim-treesitter.txt /*:TSInstall*
|
||||
:TSInstallInfo nvim-treesitter.txt /*:TSInstallInfo*
|
||||
:TSInstallSync nvim-treesitter.txt /*:TSInstallSync*
|
||||
:TSModuleInfo nvim-treesitter.txt /*:TSModuleInfo*
|
||||
:TSToggle nvim-treesitter.txt /*:TSToggle*
|
||||
:TSUninstall nvim-treesitter.txt /*:TSUninstall*
|
||||
:TSUpdate nvim-treesitter.txt /*:TSUpdate*
|
||||
:TSUpdateSync nvim-treesitter.txt /*:TSUpdateSync*
|
||||
nvim-treesitter nvim-treesitter.txt /*nvim-treesitter*
|
||||
nvim-treesitter-commands nvim-treesitter.txt /*nvim-treesitter-commands*
|
||||
nvim-treesitter-functions nvim-treesitter.txt /*nvim-treesitter-functions*
|
||||
nvim-treesitter-highlight-mod nvim-treesitter.txt /*nvim-treesitter-highlight-mod*
|
||||
nvim-treesitter-incremental-selection-mod nvim-treesitter.txt /*nvim-treesitter-incremental-selection-mod*
|
||||
nvim-treesitter-indentation-aligned_indent.align nvim-treesitter.txt /*nvim-treesitter-indentation-aligned_indent.align*
|
||||
nvim-treesitter-indentation-indent.begin nvim-treesitter.txt /*nvim-treesitter-indentation-indent.begin*
|
||||
nvim-treesitter-indentation-indent.branch nvim-treesitter.txt /*nvim-treesitter-indentation-indent.branch*
|
||||
nvim-treesitter-indentation-indent.dedent nvim-treesitter.txt /*nvim-treesitter-indentation-indent.dedent*
|
||||
nvim-treesitter-indentation-indent.end nvim-treesitter.txt /*nvim-treesitter-indentation-indent.end*
|
||||
nvim-treesitter-indentation-mod nvim-treesitter.txt /*nvim-treesitter-indentation-mod*
|
||||
nvim-treesitter-indentation-queries nvim-treesitter.txt /*nvim-treesitter-indentation-queries*
|
||||
nvim-treesitter-intro nvim-treesitter.txt /*nvim-treesitter-intro*
|
||||
nvim-treesitter-modules nvim-treesitter.txt /*nvim-treesitter-modules*
|
||||
nvim-treesitter-performance nvim-treesitter.txt /*nvim-treesitter-performance*
|
||||
nvim-treesitter-quickstart nvim-treesitter.txt /*nvim-treesitter-quickstart*
|
||||
nvim-treesitter-utils nvim-treesitter.txt /*nvim-treesitter-utils*
|
||||
nvim_treesitter#foldexpr() nvim-treesitter.txt /*nvim_treesitter#foldexpr()*
|
||||
nvim_treesitter#statusline() nvim-treesitter.txt /*nvim_treesitter#statusline()*
|
||||
ts_utils.get_named_children nvim-treesitter.txt /*ts_utils.get_named_children*
|
||||
ts_utils.get_next_node nvim-treesitter.txt /*ts_utils.get_next_node*
|
||||
ts_utils.get_node_at_cursor nvim-treesitter.txt /*ts_utils.get_node_at_cursor*
|
||||
ts_utils.get_previous_node nvim-treesitter.txt /*ts_utils.get_previous_node*
|
||||
ts_utils.goto_node nvim-treesitter.txt /*ts_utils.goto_node*
|
||||
ts_utils.highlight_node nvim-treesitter.txt /*ts_utils.highlight_node*
|
||||
ts_utils.highlight_range nvim-treesitter.txt /*ts_utils.highlight_range*
|
||||
ts_utils.is_parent nvim-treesitter.txt /*ts_utils.is_parent*
|
||||
ts_utils.memoize_by_buf_tick nvim-treesitter.txt /*ts_utils.memoize_by_buf_tick*
|
||||
ts_utils.node_length nvim-treesitter.txt /*ts_utils.node_length*
|
||||
ts_utils.node_to_lsp_range nvim-treesitter.txt /*ts_utils.node_to_lsp_range*
|
||||
ts_utils.swap_nodes nvim-treesitter.txt /*ts_utils.swap_nodes*
|
||||
ts_utils.update_selection nvim-treesitter.txt /*ts_utils.update_selection*
|
||||
Reference in New Issue
Block a user