commit c306d0e7bcadd90f97454d45e99570cb02b6e509
parent 7d25debdd2e6079a24bdb4dde1621a36e693dc47
Author: Tomas Nemec <nemi@skaut.cz>
Date: Thu, 29 Jul 2021 23:21:17 +0200
update
Diffstat:
17 files changed, 344 insertions(+), 442 deletions(-)
diff --git a/ftplugin/dart.lua b/ftplugin/dart.lua
@@ -1,6 +1,9 @@
vim.g.dart_style_guide = 2
vim.g.dart_html_in_string = true
-require('tms.ft.dart').setup()
+
+vim.cmd [[command! DartAnalyzer lua require('tms.ft.dart.analyze').qf2103()]]
+vim.cmd [[command! DartDebug lua require('tms.ft.dart.debug').func()]]
+vim.cmd [[command! DartPrint lua require('tms.ft.dart.debug').print()]]
if vim.fn.getline(1):match('^#!.*dcli') then
vim.cmd [[comp dcli]]
diff --git a/lua/tms/ft/dart.lua b/lua/tms/ft/dart.lua
@@ -1,161 +0,0 @@
-local loop = vim.loop
-local fn = vim.fn
-
-local M = {}
-
-function M.lspcmd()
- local dart_sdk = fn.resolve(fn.exepath("dart"))
- local dart_sdk_root_path = fn.fnamemodify(dart_sdk, ":h")
- local snapshot = dart_sdk_root_path .. "/snapshots/analysis_server.dart.snapshot"
- return {'dart', snapshot, '--lsp'}
-end
-
-local tsuexists, tsu = pcall(require, 'nvim-treesitter.ts_utils')
-if not tsuexists then
- return M
-end
-
-local function findTestNode(n)
- local node = n or tsu.get_node_at_cursor()
- while node do
- if (node:type():find('selector')) then
- local prev = tsu.get_previous_node(node)
- if prev and prev:type():find('identifier') then
- if tsu.get_node_text(prev)[1] == 'test' then
- return prev
- end
- end
- end
- node = node:parent()
- end
-end
-
-local lastName
-function M.getTestName(n)
- local node = n or tsu.get_node_at_cursor()
- local testNode = findTestNode(node)
- if testNode then
- local selector = tsu.get_next_node(testNode)
- if selector:type():find('selector') then
- local child = selector:named_child()
- while child do
- if child:type():find('string_literal') then
- local test = tsu.get_node_text(child)[1]
- lastName = test
- return test
- end
- child = child:named_child()
- end
- end
- end
-
- if lastName then
- return lastName
- end
-
- return ''
-end
-
-function M.setup()
- -- vimp.nnoremap({'override'}, '<leader>cP', function()
- -- local node = tsu.get_node_at_cursor()
- -- if not node:type():find('identifier') then
- -- node = nil
- -- else
- -- node = tsu.get_node_text(node)[1]
- -- end
-
- -- local methodName = getMethodName()
- -- if methodName then
- -- local line = vim.api.nvim_get_current_line()
- -- local var = ''
-
- -- if node then
- -- var = '${' .. node .. '}'
- -- vim.cmd('norm o')
- -- else
- -- if line ~= '' then
- -- vim.cmd('norm O')
- -- end
- -- end
-
- -- vim.api.nvim_set_current_line('print("' .. methodName .. ': ' .. var .. '");')
-
- -- vim.cmd('norm ==')
- -- vim.cmd('norm 2f"')
- -- vim.cmd('startinsert')
- -- end
- -- end)
-
- -- vimp.nnoremap({'override'}, '<leader>cd', function()
- -- local methodName = getMethodName()
- -- if methodName then
- -- local line = vim.api.nvim_get_current_line()
-
- -- if line ~= '' then
- -- vim.cmd('norm O')
- -- end
-
- -- vim.api.nvim_set_current_line('print("' .. methodName .. '");')
-
- -- vim.cmd('norm ==')
- -- vim.cmd('norm 2f"')
- -- vim.cmd('startinsert')
- -- end
- -- end)
-
- -- vimp.nnoremap({'override'}, '<leader>cD', function() require'tms.ft.dart.debug_func'.debug_func() end)
-
- vim.cmd [[command! -count=1 -nargs=* DartTest lua require('tms.ft.dart').darttest(<count>, vim.fn.expand('%'), <q-args>)]]
-end
-
--- TESTING DART
-local lastTestFile
-function M.darttest(termid, file, testargs)
- if not string.match(file, '_test.dart$') then
- if lastTestFile then
- print('not a testing file... running last used')
- file = lastTestFile
- else
- print('not a testing file')
- return
- end
- end
- require('tms.p.terminal').run(string.format('pub run build_runner test -- %s %s', file, testargs), termid)
- lastTestFile = file
-end
-
-function M.analyze2qfl(make_entry)
- local list = {}
-
- local onread = function(err, data)
- assert(not err, err)
- if data then
- local line = string.gsub(data, "\n", "")
- local parsed = make_entry(line)
- if parsed then
- table.insert(list, parsed)
- end
- end
- end
-
- local stdout = loop.new_pipe(false)
- local handle
- handle = loop.spawn('dart', {args = {"analyze"}, stdio = {nil, stdout, nil}}, vim.schedule_wrap(
- function()
- stdout:read_stop()
- stdout:close()
- handle:close()
-
- vim.fn.setqflist(list)
- if #list > 0 then
- vim.cmd [[copen]]
- else
- print("Analyzer finished...")
- end
- end))
-
- loop.read_start(stdout, onread)
-end
-
-return M
diff --git a/lua/tms/ft/dart/analyze.lua b/lua/tms/ft/dart/analyze.lua
@@ -0,0 +1,73 @@
+local loop = vim.loop
+
+local M = {}
+
+-- Dart analyze to quickfix list
+M.qf = function(make_entry)
+ local list = {}
+
+ local onread = function(err, data)
+ assert(not err, err)
+ if data then
+ local line = string.gsub(data, '\n', '')
+ local parsed = make_entry(line)
+ if parsed then
+ table.insert(list, parsed)
+ end
+ end
+ end
+
+ local stdout = loop.new_pipe(false)
+ local handle
+ handle = loop.spawn('dart', {args = {'analyze'}, stdio = {nil, stdout, nil}},
+ vim.schedule_wrap(function()
+ stdout:read_stop()
+ stdout:close()
+ handle:close()
+
+ vim.fn.setqflist(list)
+ if #list > 0 then
+ vim.cmd [[copen]]
+ else
+ print('Analyzer finished...')
+ end
+ end))
+
+ loop.read_start(stdout, onread)
+end
+
+M.qf2103 = function()
+ local dart2103 = function(line)
+ local level, msg, filename, lnum, lcol = string.match(line,
+ '(%a+) %- (.*) at (%S+):(%d+):(%d+) .*')
+ if level and filename and lnum and lcol and msg then
+ return {
+ type = string.sub(level, 1, 1):upper(),
+ filename = filename,
+ lnum = lnum,
+ lcol = lcol,
+ text = msg,
+ }
+ end
+ end
+ M.qf(dart2103)
+end
+
+M.qf2131 = function()
+ local dart2131 = function(line)
+ local level, filename, lnum, lcol, msg =
+ string.match(line, '(%a+) %- (%S+):(%d+):(%d+) %- (.*)')
+ if level and filename and lnum and lcol and msg then
+ return {
+ type = string.sub(level, 1, 1):upper(),
+ filename = filename,
+ lnum = lnum,
+ lcol = lcol,
+ text = msg,
+ }
+ end
+ end
+ M.qf(dart2131)
+end
+
+return M
diff --git a/lua/tms/ft/dart/bin.lua b/lua/tms/ft/dart/bin.lua
@@ -0,0 +1,12 @@
+local fn = vim.fn
+
+local M = {}
+
+function M.lspcmd()
+ local dart_sdk = fn.resolve(fn.exepath('dart'))
+ local dart_sdk_root_path = fn.fnamemodify(dart_sdk, ':h')
+ local snapshot = dart_sdk_root_path .. '/snapshots/analysis_server.dart.snapshot'
+ return {'dart', snapshot, '--lsp'}
+end
+
+return M
diff --git a/lua/tms/ft/dart/debug.lua b/lua/tms/ft/dart/debug.lua
@@ -0,0 +1,98 @@
+local parsers = require 'nvim-treesitter.parsers'
+local range = require('tms.ts.range')
+local tsu = require 'nvim-treesitter.ts_utils'
+local api = vim.api
+
+local M = {}
+
+M.getNameFromBody = function(node)
+ if (node:type():find('function_body')) then
+ local previous = tsu.get_previous_node(node)
+ if previous:type() == 'method_signature' then
+ previous = previous:child()
+ for i, v in previous:iter_children() do
+ if v == 'name' then
+ return tsu.get_node_text(i)[1] or nil
+ end
+ end
+ elseif previous:type() == 'function_signature' then
+ for i, v in previous:iter_children() do
+ if v == 'name' then
+ return tsu.get_node_text(i)[1] or nil
+ end
+ end
+ end
+ end
+end
+
+M.getNameForClassDef = function(node)
+ if node:type() == 'class_definition' then
+ for no, na in node:iter_children() do
+ if na == 'name' then
+ return tsu.get_node_text(no)[1] or nil
+ end
+ end
+ end
+end
+
+local function iter_tree(node, work, level)
+ level = level or 1
+ for n in node:iter_children() do
+ work(n, level)
+ if n:child_count() > 0 then
+ iter_tree(n, work, level + 1)
+ end
+ end
+end
+
+M.getMethodName = function(n)
+ local node = n or tsu.get_node_at_cursor()
+ while node do
+ if (node:type():find('function_body')) then
+ return M.getNameFromBody(node)
+ end
+ node = node:parent()
+ end
+end
+
+-- Get map of names in tree for position of [node]
+M.treeFor = function(node)
+ node = node or tsu.get_node_at_cursor()
+ local out = {}
+ while node do
+ if node:type() == 'function_body' then
+ local name = M.getNameFromBody(node)
+ table.insert(out, name)
+ elseif node:type() == 'class_definition' then
+ table.insert(out, M.getNameForClassDef(node))
+ end
+ node = node:parent()
+ end
+ return out
+end
+
+-- Add print with tree location inside this class
+M.print = function()
+ local tree = M.treeFor()
+ local bufnr = api.nvim_get_current_buf()
+ local r = range:from_lsp_range(vim.lsp.util.make_range_params().range, bufnr)
+ local string = string.format('print(\'%s\');', table.concat(tree, '.'))
+ vim.lsp.util.apply_text_edits({r:to_lsp_text_edit(string)}, bufnr)
+ api.nvim_feedkeys('==', 'n', false)
+end
+
+-- Add print to every method in file
+M.func = function()
+ local root = parsers.get_tree_root()
+ iter_tree(root, function(node, level)
+ local node_type = node:type()
+ if node_type == 'function_body' then
+ api.nvim_buf_set_lines(0, node:start() + 1, node:start() + 1, true, {
+ string.format('print("%s");', string.rep(' ', level), M.getMethodName(node)),
+ })
+ api.nvim_feedkeys('==', 'n', false)
+ end
+ end)
+end
+
+return M
diff --git a/lua/tms/ft/dart/debug_func.lua b/lua/tms/ft/dart/debug_func.lua
@@ -1,47 +0,0 @@
-local parsers = require 'nvim-treesitter.parsers'
-local tsu = require 'nvim-treesitter.ts_utils'
-local api = vim.api
-
-local M = {}
-local function getMethodName(n)
- local node = n or tsu.get_node_at_cursor()
- while node do
- if (node:type():find('function_body')) then
- local previous = tsu.get_previous_node(node)
- if previous:type() == 'method_signature' then
- previous = previous:child()
- for i, v in previous:iter_children() do
- if v == 'name' then
- return tsu.get_node_text(i)[1] or nil
- end
- end
- end
- end
- node = node:parent()
- end
-end
-
-local function iter_tree(node, work, level)
- level = level or 1
- for n in node:iter_children() do
- work(n, level)
- if n:child_count() > 0 then
- iter_tree(n, work, level + 1)
- end
- end
-end
-
-function M.debug_func()
- local root = parsers.get_tree_root()
- iter_tree(root, function(node, level)
- local node_type = node:type()
- if node_type == 'function_body' then
- api.nvim_buf_set_lines(0, node:start() + 1, node:start() + 1, true,
- {
- string.format('%sprint("%s");', string.rep(' ', level - 1), getMethodName(node)),
- })
- end
- end)
-end
-
-return M
diff --git a/lua/tms/ft/dart/test.lua b/lua/tms/ft/dart/test.lua
@@ -0,0 +1,40 @@
+local tsu = require('nvim-treesitter.ts_utils')
+
+local M = {}
+
+-- find test node
+M.findTestNode = function(node)
+ node = node or tsu.get_node_at_cursor()
+ while node do
+ if (node:type():find('selector')) then
+ local prev = tsu.get_previous_node(node)
+ if prev and prev:type():find('identifier') then
+ if tsu.get_node_text(prev)[1] == 'test' then
+ return prev
+ end
+ end
+ end
+ node = node:parent()
+ end
+end
+
+function M.getTestName(node)
+ node = node or tsu.get_node_at_cursor()
+ local testNode = M.findTestNode(node)
+ if testNode then
+ local selector = tsu.get_next_node(testNode)
+ if selector:type():find('selector') then
+ local child = selector:named_child()
+ while child do
+ if child:type():find('string_literal') then
+ local test = tsu.get_node_text(child)[1]
+ return test
+ end
+ child = child:named_child()
+ end
+ end
+ end
+ return ''
+end
+
+return M
diff --git a/lua/tms/lsp/init.lua b/lua/tms/lsp/init.lua
@@ -74,7 +74,7 @@ function M.setup()
lspc.dartls.setup {
on_attach = custom_attach,
- cmd = require'tms.ft.dart'.lspcmd(),
+ cmd = require'tms.ft.dart.bin'.lspcmd(),
init_options = {closingLabels = true, outline = true},
settings = {dart = {lineLength = 120, showTodos = true, completeFunctionCalls = true}},
handlers = {
diff --git a/lua/tms/p/actions/init.lua b/lua/tms/p/actions/init.lua
@@ -28,26 +28,7 @@ M.setup = function()
M.add_lang('dart', {
run = make,
build = function(_) -- analyze
- local dart2103 = function(line)
- local level, msg, filename, lnum, lcol = string.match(line,
- '(%a+) %- (.*) at (%S+):(%d+):(%d+) .*')
- if level and filename and lnum and lcol and msg then
- return {
- type = string.sub(level, 1, 1):upper(),
- filename = filename,
- lnum = lnum,
- lcol = lcol,
- text = msg,
- }
- end
- end
- -- local dart2131 = function(line)
- -- local level, filename, lnum, lcol, msg = string.match(line, "(%a+) %- (%S+):(%d+):(%d+) %- (.*)")
- -- if level and filename and lnum and lcol and msg then
- -- return {type = string.sub(level, 1, 1):upper(), filename = filename, lnum = lnum, lcol = lcol, text = msg}
- -- en
- -- end
- require('tms.ft.dart').analyze2qfl(dart2103)
+ require('tms.ft.dart.analyze').qf2103()
end,
})
M.add_lang('lua', {run = make})
diff --git a/lua/tms/plugins.lua b/lua/tms/plugins.lua
@@ -343,7 +343,7 @@ local function init()
use {'vim-php/vim-composer', config = function() vim.g.composer_cmd = 'composer' end}
use 'fpob/nette.vim'
use 'baskerville/vim-sxhkdrc'
- use 'dart-lang/dart-vim-plugin'
+ use {'dart-lang/dart-vim-plugin', ft = {'dart'}}
use {'akinsho/dependency-assist.nvim', config = function() require'dependency_assist'.setup() end}
-- snippets
diff --git a/lua/tms/u/ws.lua b/lua/tms/u/ws.lua
@@ -1,17 +0,0 @@
-local au = require('tms.ws')
-local M = {}
-
-M.setup = function(workspaces)
- for ws, setup in pairs(workspaces) do
- if setup.path then
- au.addListener('user-project-path-' .. ws, {'VimEnter ' .. setup.path}, setup.config)
- end
- if setup.filetypes then
- for _, filetype in ipairs(setup.filetypes) do
- au.addListener('user-project-ft-' .. ws, {'FileType ' .. filetype}, setup.config)
- end
- end
- end
-end
-
-return M
diff --git a/lua/tms/ws/init.lua b/lua/tms/ws/init.lua
@@ -30,13 +30,13 @@ ws.medoro = {
}
M.setup = function()
- for ws, setup in pairs(ws) do
+ for name, setup in pairs(ws) do
if setup.path then
- au.addListener('user-project-path-' .. ws, {'VimEnter ' .. setup.path}, setup.config)
+ au.addListener('user-project-path-' .. name, {'VimEnter ' .. setup.path}, setup.config)
end
if setup.filetypes then
for _, filetype in ipairs(setup.filetypes) do
- au.addListener('user-project-ft-' .. ws, {'FileType ' .. filetype}, setup.config)
+ au.addListener('user-project-ft-' .. name, {'FileType ' .. filetype}, setup.config)
end
end
end
diff --git a/lua/tms/ws/medoro.lua b/lua/tms/ws/medoro.lua
@@ -3,7 +3,7 @@ local actions = require('telescope.actions')
local M = {}
-function M.lang()
+M.lang = function()
local cwd = '/home/tms/dev/medoro/dpgw/dpgw/src/main/resources/org/medoro/dpgw/core/lang/'
local files = {'lang.properties', 'lang_cs.properties'}
require('tms.p.telescope').grep_files(cwd, files, function(prompt_bufnr, _)
diff --git a/plugin/packer_compiled.lua b/plugin/packer_compiled.lua
@@ -109,8 +109,9 @@ _G.packer_plugins = {
path = "/home/tms/.local/share/nvim/site/pack/packer/start/compe-zsh"
},
["dart-vim-plugin"] = {
- loaded = true,
- path = "/home/tms/.local/share/nvim/site/pack/packer/start/dart-vim-plugin"
+ loaded = false,
+ needs_bufread = true,
+ path = "/home/tms/.local/share/nvim/site/pack/packer/opt/dart-vim-plugin"
},
["dependency-assist.nvim"] = {
config = { "\27LJ\2\n?\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\22dependency_assist\frequire\0" },
@@ -211,7 +212,7 @@ _G.packer_plugins = {
path = "/home/tms/.local/share/nvim/site/pack/packer/start/nvim-bqf"
},
["nvim-colorizer.lua"] = {
- config = { "\27LJ\2\nƒ\1\0\0\4\0\5\0\b6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0005\3\4\0B\0\3\1K\0\1\0\1\0\b\rRRGGBBAA\2\vRRGGBB\2\vcss_fn\2\nnames\2\bRGB\2\bcss\2\vhsl_fn\2\vrgb_fn\2\1\2\0\0\6*\nsetup\14colorizer\frequire\0" },
+ config = { "\27LJ\2\nƒ\1\0\0\4\0\5\0\b6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0005\3\4\0B\0\3\1K\0\1\0\1\0\b\rRRGGBBAA\2\vrgb_fn\2\vhsl_fn\2\vcss_fn\2\bRGB\2\vRRGGBB\2\bcss\2\nnames\2\1\2\0\0\6*\nsetup\14colorizer\frequire\0" },
loaded = true,
path = "/home/tms/.local/share/nvim/site/pack/packer/start/nvim-colorizer.lua"
},
@@ -341,7 +342,7 @@ _G.packer_plugins = {
path = "/home/tms/.local/share/nvim/site/pack/packer/opt/telescope-snippets.nvim"
},
["telescope.nvim"] = {
- after = { "telescope-fzf-native.nvim", "telescope-snippets.nvim", "telescope-dap.nvim" },
+ after = { "telescope-dap.nvim", "telescope-fzf-native.nvim", "telescope-snippets.nvim" },
loaded = true,
only_config = true
},
@@ -423,26 +424,30 @@ _G.packer_plugins = {
}
time([[Defining packer_plugins]], false)
+-- Config for: lsp-trouble.nvim
+time([[Config for lsp-trouble.nvim]], true)
+try_loadstring("\27LJ\2\n9\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\ftrouble\frequire\0", "config", "lsp-trouble.nvim")
+time([[Config for lsp-trouble.nvim]], false)
+-- Config for: sideways.vim
+time([[Config for sideways.vim]], true)
+try_loadstring("\27LJ\2\nž\4\0\0\5\0\23\0,6\0\0\0'\2\1\0B\0\2\0029\1\2\0'\3\3\0'\4\4\0B\1\3\0019\1\2\0'\3\5\0'\4\6\0B\1\3\0019\1\a\0005\3\b\0'\4\t\0B\1\3\0019\1\n\0005\3\v\0'\4\t\0B\1\3\0019\1\a\0'\3\f\0'\4\r\0B\1\3\0019\1\n\0'\3\f\0'\4\r\0B\1\3\0019\1\14\0'\3\15\0'\4\16\0B\1\3\0019\1\14\0'\3\17\0'\4\18\0B\1\3\0019\1\14\0'\3\19\0'\4\20\0B\1\3\0019\1\14\0'\3\21\0'\4\22\0B\1\3\1K\0\1\0%<Plug>SidewaysArgumentAppendLast\15<leader>aL%<Plug>SidewaysArgumentInsertFirt\15<leader>aH&<Plug>SidewaysArgumentAppendAfter\15<leader>al'<Plug>SidewaysArgumentInsertBefore\15<leader>ah\tnmap#<Plug>SidewaysArgumentTextobjI\aia\1\3\0\0\aaa\aa.\txmap#<Plug>SidewaysArgumentTextobjA\1\3\0\0\aaa\aa.\tomap\23:SidewaysRight<cr>\n<c-l>\22:SidewaysLeft<cr>\n<c-h>\rnnoremap\18tms.c.keybind\frequire\0", "config", "sideways.vim")
+time([[Config for sideways.vim]], false)
-- Config for: actions.nvim
time([[Config for actions.nvim]], true)
try_loadstring("\27LJ\2\n;\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\18tms.p.actions\frequire\0", "config", "actions.nvim")
time([[Config for actions.nvim]], false)
+-- Config for: lua-dev.nvim
+time([[Config for lua-dev.nvim]], true)
+try_loadstring("\27LJ\2\n\v\0\0\1\0\0\0\1K\0\1\0\0", "config", "lua-dev.nvim")
+time([[Config for lua-dev.nvim]], false)
-- Config for: snippets.nvim
time([[Config for snippets.nvim]], true)
try_loadstring("\27LJ\2\n<\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\19tms.p.snippets\frequire\0", "config", "snippets.nvim")
time([[Config for snippets.nvim]], false)
--- Config for: lualine.nvim
-time([[Config for lualine.nvim]], true)
-try_loadstring("\27LJ\2\n:\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\17tms.p.status\frequire\0", "config", "lualine.nvim")
-time([[Config for lualine.nvim]], false)
-- Config for: animate.vim
time([[Config for animate.vim]], true)
try_loadstring("\27LJ\2\nª\5\0\0\a\0\23\00016\0\0\0009\0\1\0'\2\2\0B\0\2\0015\0\3\0006\1\4\0'\3\5\0B\1\2\0029\2\6\1'\4\a\0'\5\b\0\18\6\0\0B\2\4\0019\2\6\1'\4\t\0'\5\n\0\18\6\0\0B\2\4\0019\2\6\1'\4\v\0'\5\f\0\18\6\0\0B\2\4\0019\2\6\1'\4\r\0'\5\14\0\18\6\0\0B\2\4\0019\2\6\1'\4\15\0'\5\16\0\18\6\0\0B\2\4\0019\2\6\1'\4\17\0'\5\18\0\18\6\0\0B\2\4\0019\2\6\1'\4\19\0'\5\20\0\18\6\0\0B\2\4\0019\2\6\1'\4\21\0'\5\22\0\18\6\0\0B\2\4\1K\0\1\0,:call animate#window_delta_width(1)<cr>\14<s-right>-:call animate#window_delta_width(-1)<cr>\r<s-left>.:call animate#window_delta_height(-1)<cr>\r<s-down>-:call animate#window_delta_height(1)<cr>\v<s-up>-:call animate#window_delta_width(10)<cr>\14<c-right>.:call animate#window_delta_width(-10)<cr>\r<c-left>/:call animate#window_delta_height(-10)<cr>\r<c-down>.:call animate#window_delta_height(10)<cr>\v<c-up>\tnmap\18tms.c.keybind\frequire\1\0\1\vsilent\2#let g:animate#duration = 100.0\bcmd\bvim\0", "config", "animate.vim")
time([[Config for animate.vim]], false)
--- Config for: tabular
-time([[Config for tabular]], true)
-try_loadstring("\27LJ\2\n€\2\0\0\5\0\n\0\0286\0\0\0'\2\1\0B\0\2\0029\1\2\0'\3\3\0'\4\4\0B\1\3\0019\1\5\0'\3\3\0'\4\4\0B\1\3\0019\1\2\0'\3\6\0'\4\a\0B\1\3\0019\1\5\0'\3\6\0'\4\a\0B\1\3\0019\1\2\0'\3\b\0'\4\t\0B\1\3\0019\1\5\0'\3\b\0'\4\t\0B\1\3\1K\0\1\0\27<cmd>Tabularize /,<cr>\15<leader>a,\30<cmd>Tabularize /:\\zs<cr>\15<leader>a:\tvmap\27<cmd>Tabularize /=<cr>\15<leader>a=\tnmap\18tms.c.keybind\frequire\0", "config", "tabular")
-time([[Config for tabular]], false)
-- Config for: neogit
time([[Config for neogit]], true)
try_loadstring("\27LJ\2\n¶\1\0\0\5\0\n\0\0166\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\4\0005\3\3\0=\3\5\2B\0\2\0016\0\0\0'\2\6\0B\0\2\0029\1\a\0'\3\b\0'\4\t\0B\1\3\1K\0\1\0\31<cmd>Neogit kind=split<cr>\15<leader>gn\rnnoremap\18tms.c.keybind\17integrations\1\0\0\1\0\1\rdiffview\2\nsetup\vneogit\frequire\0", "config", "neogit")
@@ -451,54 +456,54 @@ time([[Config for neogit]], false)
time([[Config for asyncrun.vim]], true)
try_loadstring("\27LJ\2\nŠ\1\0\0\5\0\a\0\f6\0\0\0'\2\1\0B\0\2\0029\1\2\0'\3\3\0'\4\4\0B\1\3\0019\1\2\0'\3\5\0'\4\6\0B\1\3\1K\0\1\0\15:AsyncRun \15<leader>rr\23<cmd>AsyncStop<cr>\15<leader>rs\rnnoremap\18tms.c.keybind\frequire\0", "config", "asyncrun.vim")
time([[Config for asyncrun.vim]], false)
--- Config for: vim-fugitive
-time([[Config for vim-fugitive]], true)
-try_loadstring("\27LJ\2\n·\1\0\0\5\0\t\0\0166\0\0\0'\2\1\0B\0\2\0029\1\2\0'\3\3\0'\4\4\0B\1\3\0019\1\2\0'\3\5\0'\4\6\0B\1\3\0019\1\2\0'\3\a\0'\4\b\0B\1\3\1K\0\1\0\23<cmd>Git blame<cr>\15<leader>gb\22<cmd>G commit<cr>\15<leader>gc\15<cmd>G<cr>\15<leader>gg\rnnoremap\18tms.c.keybind\frequire\0", "config", "vim-fugitive")
-time([[Config for vim-fugitive]], false)
-- Config for: null-ls.nvim
time([[Config for null-ls.nvim]], true)
try_loadstring("\27LJ\2\nf\0\0\4\0\5\0\0146\0\0\0'\2\1\0B\0\2\0029\1\2\0004\3\0\0B\1\2\0016\1\0\0'\3\3\0B\1\2\0029\1\1\0019\1\4\0014\3\0\0B\1\2\1K\0\1\0\nsetup\14lspconfig\vconfig\fnull-ls\frequire\0", "config", "null-ls.nvim")
time([[Config for null-ls.nvim]], false)
--- Config for: beacon.nvim
-time([[Config for beacon.nvim]], true)
-try_loadstring("\27LJ\2\nå\1\0\0\5\0\15\0\0246\0\0\0009\0\1\0005\1\3\0=\1\2\0006\0\4\0'\2\5\0B\0\2\0029\1\6\0'\3\a\0'\4\b\0B\1\3\0019\1\6\0'\3\t\0'\4\n\0B\1\3\0019\1\6\0'\3\v\0'\4\f\0B\1\3\0019\1\6\0'\3\r\0'\4\14\0B\1\3\1K\0\1\0\17#:Beacon<cr>\6#\17*:Beacon<cr>\6*\17N:Beacon<cr>\6N\17n:Beacon<cr>\6n\tnmap\18tms.c.keybind\frequire\1\2\0\0\tvifm\28beacon_ignore_filetypes\6g\bvim\0", "config", "beacon.nvim")
-time([[Config for beacon.nvim]], false)
--- Config for: nvim-bqf
-time([[Config for nvim-bqf]], true)
-try_loadstring("\27LJ\2\n7\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\14tms.p.bqf\frequire\0", "config", "nvim-bqf")
-time([[Config for nvim-bqf]], false)
+-- Config for: tabular
+time([[Config for tabular]], true)
+try_loadstring("\27LJ\2\n€\2\0\0\5\0\n\0\0286\0\0\0'\2\1\0B\0\2\0029\1\2\0'\3\3\0'\4\4\0B\1\3\0019\1\5\0'\3\3\0'\4\4\0B\1\3\0019\1\2\0'\3\6\0'\4\a\0B\1\3\0019\1\5\0'\3\6\0'\4\a\0B\1\3\0019\1\2\0'\3\b\0'\4\t\0B\1\3\0019\1\5\0'\3\b\0'\4\t\0B\1\3\1K\0\1\0\27<cmd>Tabularize /,<cr>\15<leader>a,\30<cmd>Tabularize /:\\zs<cr>\15<leader>a:\tvmap\27<cmd>Tabularize /=<cr>\15<leader>a=\tnmap\18tms.c.keybind\frequire\0", "config", "tabular")
+time([[Config for tabular]], false)
-- Config for: nvim-colorizer.lua
time([[Config for nvim-colorizer.lua]], true)
-try_loadstring("\27LJ\2\nƒ\1\0\0\4\0\5\0\b6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0005\3\4\0B\0\3\1K\0\1\0\1\0\b\rRRGGBBAA\2\vRRGGBB\2\vcss_fn\2\nnames\2\bRGB\2\bcss\2\vhsl_fn\2\vrgb_fn\2\1\2\0\0\6*\nsetup\14colorizer\frequire\0", "config", "nvim-colorizer.lua")
+try_loadstring("\27LJ\2\nƒ\1\0\0\4\0\5\0\b6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0005\3\4\0B\0\3\1K\0\1\0\1\0\b\rRRGGBBAA\2\vrgb_fn\2\vhsl_fn\2\vcss_fn\2\bRGB\2\vRRGGBB\2\bcss\2\nnames\2\1\2\0\0\6*\nsetup\14colorizer\frequire\0", "config", "nvim-colorizer.lua")
time([[Config for nvim-colorizer.lua]], false)
--- Config for: vim-instant-markdown
-time([[Config for vim-instant-markdown]], true)
-try_loadstring("\27LJ\2\n™\1\0\0\4\0\b\0\0146\0\0\0009\0\1\0)\1\0\0=\1\2\0006\0\0\0009\0\1\0006\1\4\0009\1\5\1'\3\6\0B\1\2\2'\2\a\0&\1\2\1=\1\3\0K\0\1\0\18 --new-window\fBROWSER\vgetenv\aos\29instant_markdown_browser\31instant_markdown_autostart\6g\bvim\0", "config", "vim-instant-markdown")
-time([[Config for vim-instant-markdown]], false)
--- Config for: trans.nvim
-time([[Config for trans.nvim]], true)
-try_loadstring("\27LJ\2\n²\1\0\0\5\0\a\0\f6\0\0\0'\2\1\0B\0\2\0029\1\2\0'\3\3\0'\4\4\0B\1\3\0019\1\2\0'\3\5\0'\4\6\0B\1\3\1K\0\1\0002<cmd>lua require(\"trans\").translate(\"cs\")<cr>\bmtc.<cmd>lua require(\"trans\").translate()<cr>\bmtt\txmap\18tms.c.keybind\frequire\0", "config", "trans.nvim")
-time([[Config for trans.nvim]], false)
+-- Config for: nvim-compe
+time([[Config for nvim-compe]], true)
+try_loadstring("\27LJ\2\n”\3\0\0\6\0\21\0'6\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\0016\0\0\0'\2\3\0B\0\2\0029\1\4\0'\3\5\0'\4\6\0005\5\a\0B\1\4\0019\1\4\0'\3\b\0'\4\t\0005\5\n\0B\1\4\0019\1\v\0'\3\f\0'\4\r\0005\5\14\0B\1\4\0019\1\15\0'\3\f\0'\4\r\0005\5\16\0B\1\4\0019\1\v\0'\3\17\0'\4\18\0005\5\19\0B\1\4\0019\1\15\0'\3\17\0'\4\18\0005\5\20\0B\1\4\1K\0\1\0\1\0\1\texpr\2\1\0\1\texpr\2\27v:lua.s_tab_complete()\f<S-Tab>\1\0\1\texpr\2\tsmap\1\0\1\texpr\2\25v:lua.tab_complete()\n<Tab>\timap\1\0\2\texpr\2\vsilent\2\25compe#close(\"<c-e>\")\n<c-e>\1\0\2\texpr\2\vsilent\2\26compe#confirm(\"<cr>\")\t<cr>\rinoremap\18tms.c.keybind\nsetup\16tms.p.compe\frequire\0", "config", "nvim-compe")
+time([[Config for nvim-compe]], false)
-- Config for: nvim-dap
time([[Config for nvim-dap]], true)
try_loadstring("\27LJ\2\n7\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\14tms.p.dap\frequire\0", "config", "nvim-dap")
time([[Config for nvim-dap]], false)
--- Config for: nvim-dap-ui
-time([[Config for nvim-dap-ui]], true)
-try_loadstring("\27LJ\2\n:\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\rsetup_ui\14tms.p.dap\frequire\0", "config", "nvim-dap-ui")
-time([[Config for nvim-dap-ui]], false)
--- Config for: zen-mode.nvim
-time([[Config for zen-mode.nvim]], true)
-try_loadstring("\27LJ\2\nˆ\1\0\0\5\0\a\0\0146\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\0016\0\0\0'\2\3\0B\0\2\0029\1\4\0'\3\5\0'\4\6\0B\1\3\1K\0\1\0\21<cmd>ZenMode<cr>\14<leader>z\rnnoremap\18tms.c.keybind\nsetup\rzen-mode\frequire\0", "config", "zen-mode.nvim")
-time([[Config for zen-mode.nvim]], false)
--- Config for: firenvim
-time([[Config for firenvim]], true)
-try_loadstring("\27LJ\2\nn\0\0\3\0\6\0\f6\0\0\0009\0\1\0009\0\2\0\14\0\0\0X\0\1€K\0\1\0006\0\3\0'\2\4\0B\0\2\0029\0\5\0B\0\1\1K\0\1\0\nsetup\19tms.p.firenvim\frequire\24started_by_firenvim\6g\bvim\0", "config", "firenvim")
-time([[Config for firenvim]], false)
+-- Config for: dependency-assist.nvim
+time([[Config for dependency-assist.nvim]], true)
+try_loadstring("\27LJ\2\n?\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\22dependency_assist\frequire\0", "config", "dependency-assist.nvim")
+time([[Config for dependency-assist.nvim]], false)
+-- Config for: telescope.nvim
+time([[Config for telescope.nvim]], true)
+try_loadstring("\27LJ\2\n–\6\0\0\6\0+\0_6\0\0\0'\2\1\0B\0\2\0029\1\2\0B\1\1\0016\1\0\0'\3\3\0B\1\2\0029\2\4\1'\4\5\0009\5\6\0009\5\a\5B\2\3\0019\2\4\1'\4\b\0009\5\t\0B\2\3\0019\2\4\1'\4\n\0009\5\6\0009\5\t\5B\2\3\0019\2\4\1'\4\v\0009\5\6\0009\5\f\5B\2\3\0019\2\4\1'\4\r\0009\5\14\0B\2\3\0019\2\4\1'\4\15\0009\5\16\0B\2\3\0019\2\4\1'\4\17\0009\5\6\0009\5\18\5B\2\3\0019\2\4\1'\4\19\0009\5\6\0009\5\20\5B\2\3\0019\2\4\1'\4\21\0009\5\6\0009\5\22\5B\2\3\0019\2\4\1'\4\23\0009\5\6\0009\5\24\5B\2\3\0019\2\4\1'\4\25\0009\5\26\0B\2\3\0019\2\4\1'\4\27\0009\5\6\0009\5\28\5B\2\3\0019\2\4\1'\4\29\0009\5\30\0B\2\3\0019\2\4\1'\4\31\0009\5 \0B\2\3\0019\2\4\1'\4!\0009\5\"\0B\2\3\0019\2\4\1'\4#\0009\5$\0B\2\3\0019\2\4\1'\4%\0009\5\6\0009\5&\5B\2\3\0019\2\4\1'\4'\0009\5\6\0009\5(\5B\2\3\0019\2\4\1'\4)\0009\5*\0B\2\3\1K\0\1\0\fplugins\r<space>P\15treesitter\r<space>t\roldfiles\r<space>o\16edit_neovim\r<space>n\rsnippets\r<space>s\18spell_suggest\r<space>S\rreloader\r<space>p\14man_pages\r<space>m\fkeymaps\r<space>k\rquickfix\r<space>q\15git_status\r<space>c\16grep_string\r<space>e\14live_grep\r<space>r\nlines\r<space>l\fbuffers\r<space>b\14git_files\r<space>g\r<space>D\15find_files\r<space>d\14help_tags\6b\r<space>h\rnnoremap\18tms.c.keybind\nsetup\20tms.p.telescope\frequire\0", "config", "telescope.nvim")
+time([[Config for telescope.nvim]], false)
+-- Config for: trans.nvim
+time([[Config for trans.nvim]], true)
+try_loadstring("\27LJ\2\n²\1\0\0\5\0\a\0\f6\0\0\0'\2\1\0B\0\2\0029\1\2\0'\3\3\0'\4\4\0B\1\3\0019\1\2\0'\3\5\0'\4\6\0B\1\3\1K\0\1\0002<cmd>lua require(\"trans\").translate(\"cs\")<cr>\bmtc.<cmd>lua require(\"trans\").translate()<cr>\bmtt\txmap\18tms.c.keybind\frequire\0", "config", "trans.nvim")
+time([[Config for trans.nvim]], false)
+-- Config for: undotree
+time([[Config for undotree]], true)
+try_loadstring("\27LJ\2\n³\1\0\0\5\0\t\0\0166\0\0\0009\0\1\0)\1\2\0=\1\2\0006\0\0\0009\0\1\0)\0012\0=\1\3\0006\0\4\0'\2\5\0B\0\2\0029\1\6\0'\3\a\0'\4\b\0B\1\3\1K\0\1\0\28<cmd>UndotreeToggle<cr>\t<F5>\rnnoremap\18tms.c.keybind\frequire\24undotree_SplitWidth\26undotree_WindowLayout\6g\bvim\0", "config", "undotree")
+time([[Config for undotree]], false)
+-- Config for: vifm.vim
+time([[Config for vifm.vim]], true)
+try_loadstring("\27LJ\2\nt\0\0\2\0\5\0\r6\0\0\0009\0\1\0+\1\2\0=\1\2\0006\0\0\0009\0\1\0+\1\2\0=\1\3\0006\0\0\0009\0\1\0+\1\2\0=\1\4\0K\0\1\0\23vifm_replace_netrw\23loaded_netrwPlugin\17loaded_netrw\6g\bvim\0", "config", "vifm.vim")
+time([[Config for vifm.vim]], false)
-- Config for: nvim-spectre
time([[Config for nvim-spectre]], true)
try_loadstring("\27LJ\2\nÈ\1\0\0\5\0\b\0\f6\0\0\0'\2\1\0B\0\2\0029\1\2\0'\3\3\0'\4\4\0B\1\3\0019\1\5\0'\3\6\0'\4\a\0B\1\3\1K\0\1\0002<cmd>lua require(\"spectre\").open_visual()<cr>\14<leader>s\rvnoremap+<cmd>lua require(\"spectre\").open()<cr>\14<leader>S\rnnoremap\18tms.c.keybind\frequire\0", "config", "nvim-spectre")
time([[Config for nvim-spectre]], false)
+-- Config for: vim-composer
+time([[Config for vim-composer]], true)
+try_loadstring("\27LJ\2\n7\0\0\2\0\4\0\0056\0\0\0009\0\1\0'\1\3\0=\1\2\0K\0\1\0\rcomposer\17composer_cmd\6g\bvim\0", "config", "vim-composer")
+time([[Config for vim-composer]], false)
-- Config for: git-messenger.vim
time([[Config for git-messenger.vim]], true)
try_loadstring("\27LJ\2\ng\0\0\5\0\5\0\b6\0\0\0'\2\1\0B\0\2\0029\1\2\0'\3\3\0'\4\4\0B\1\3\1K\0\1\0\26<plug>(git-messenger)\15<leader>gm\rnnoremap\18tms.c.keybind\frequire\0", "config", "git-messenger.vim")
@@ -511,10 +516,22 @@ time([[Config for nvim-treesitter]], false)
time([[Config for gitsigns.nvim]], true)
try_loadstring("\27LJ\2\n«\a\0\0\5\0\29\00096\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\0016\0\0\0'\2\3\0B\0\2\0029\1\4\0005\3\5\0'\4\6\0B\1\3\0019\1\4\0005\3\a\0'\4\b\0B\1\3\0019\1\4\0'\3\t\0'\4\n\0B\1\3\0019\1\4\0'\3\v\0'\4\f\0B\1\3\0019\1\4\0'\3\r\0'\4\14\0B\1\3\0019\1\4\0'\3\15\0'\4\16\0B\1\3\0019\1\4\0'\3\17\0'\4\18\0B\1\3\0019\1\4\0'\3\19\0'\4\20\0B\1\3\0019\1\4\0'\3\21\0'\4\22\0B\1\3\0019\1\4\0'\3\23\0'\4\24\0B\1\3\0019\1\25\0'\3\26\0'\4\27\0B\1\3\0019\1\28\0'\3\26\0'\4\27\0B\1\3\1K\0\1\0\txmap4:<C-U>lua require(\"gitsigns\").select_hunk()<cr>\aig\tomap4<cmd>lua require(\"gitsigns\").toggle_numhl()<cr>\15<leader>hn5<cmd>lua require(\"gitsigns\").toggle_linehl()<cr>\15<leader>hlA<cmd>lua require(\"gitsigns\").toggle_current_line_blame()<cr>\15<leader>hb4<cmd>lua require(\"gitsigns\").preview_hunk()<cr>\15<leader>hp4<cmd>lua require(\"gitsigns\").reset_buffer()<cr>\15<leader>hR2<cmd>lua require(\"gitsigns\").reset_hunk()<cr>\15<leader>hr7<cmd>lua require(\"gitsigns\").undo_stage_hunk()<cr>\15<leader>hu2<cmd>lua require(\"gitsigns\").stage_hunk()<cr>\15<leader>hs1<cmd>lua require(\"gitsigns\").prev_hunk()<cr>\1\3\0\0\a<c\a<[1<cmd>lua require(\"gitsigns\").next_hunk()<cr>\1\3\0\0\a>c\a>[\tnmap\18tms.c.keybind\nsetup\19tms.p.gitsigns\frequire\0", "config", "gitsigns.nvim")
time([[Config for gitsigns.nvim]], false)
+-- Config for: vim-fugitive
+time([[Config for vim-fugitive]], true)
+try_loadstring("\27LJ\2\n·\1\0\0\5\0\t\0\0166\0\0\0'\2\1\0B\0\2\0029\1\2\0'\3\3\0'\4\4\0B\1\3\0019\1\2\0'\3\5\0'\4\6\0B\1\3\0019\1\2\0'\3\a\0'\4\b\0B\1\3\1K\0\1\0\23<cmd>Git blame<cr>\15<leader>gb\22<cmd>G commit<cr>\15<leader>gc\15<cmd>G<cr>\15<leader>gg\rnnoremap\18tms.c.keybind\frequire\0", "config", "vim-fugitive")
+time([[Config for vim-fugitive]], false)
+-- Config for: firenvim
+time([[Config for firenvim]], true)
+try_loadstring("\27LJ\2\nn\0\0\3\0\6\0\f6\0\0\0009\0\1\0009\0\2\0\14\0\0\0X\0\1€K\0\1\0006\0\3\0'\2\4\0B\0\2\0029\0\5\0B\0\1\1K\0\1\0\nsetup\19tms.p.firenvim\frequire\24started_by_firenvim\6g\bvim\0", "config", "firenvim")
+time([[Config for firenvim]], false)
-- Config for: gruvbox
time([[Config for gruvbox]], true)
try_loadstring("\27LJ\2\nh\0\0\2\0\6\0\t6\0\0\0009\0\1\0'\1\3\0=\1\2\0006\0\0\0009\0\1\0'\1\5\0=\1\4\0K\0\1\0\tsoft\27gruvbox_contrast_light\thard\26gruvbox_contrast_dark\6g\bvim\0", "config", "gruvbox")
time([[Config for gruvbox]], false)
+-- Config for: nvim-bqf
+time([[Config for nvim-bqf]], true)
+try_loadstring("\27LJ\2\n7\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\14tms.p.bqf\frequire\0", "config", "nvim-bqf")
+time([[Config for nvim-bqf]], false)
-- Config for: nvim-ts-autotag
time([[Config for nvim-ts-autotag]], true)
try_loadstring("\27LJ\2\nA\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\20nvim-ts-autotag\frequire\0", "config", "nvim-ts-autotag")
@@ -523,81 +540,77 @@ time([[Config for nvim-ts-autotag]], false)
time([[Config for hiPairs]], true)
try_loadstring("\27LJ\2\nS\0\0\2\0\4\0\t6\0\0\0009\0\1\0)\1\1\0=\1\2\0006\0\0\0009\0\1\0)\1\5\0=\1\3\0K\0\1\0\20hiPairs_timeout\22loaded_matchparen\6g\bvim\0", "config", "hiPairs")
time([[Config for hiPairs]], false)
+-- Config for: lualine.nvim
+time([[Config for lualine.nvim]], true)
+try_loadstring("\27LJ\2\n:\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\17tms.p.status\frequire\0", "config", "lualine.nvim")
+time([[Config for lualine.nvim]], false)
+-- Config for: rest.nvim
+time([[Config for rest.nvim]], true)
+try_loadstring("\27LJ\2\n7\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\14rest-nvim\frequire\0", "config", "rest.nvim")
+time([[Config for rest.nvim]], false)
-- Config for: kommentary
time([[Config for kommentary]], true)
try_loadstring("\27LJ\2\n|\0\0\4\0\5\0\b6\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0005\3\4\0B\0\3\1K\0\1\0\1\0\1 prefer_single_line_comments\2\fdefault\23configure_language\22kommentary.config\frequire\0", "config", "kommentary")
time([[Config for kommentary]], false)
--- Config for: nvim-solarized-lua
-time([[Config for nvim-solarized-lua]], true)
-try_loadstring("\27LJ\2\n\v\0\0\1\0\0\0\1K\0\1\0\0", "config", "nvim-solarized-lua")
-time([[Config for nvim-solarized-lua]], false)
+-- Config for: vim-instant-markdown
+time([[Config for vim-instant-markdown]], true)
+try_loadstring("\27LJ\2\n™\1\0\0\4\0\b\0\0146\0\0\0009\0\1\0)\1\0\0=\1\2\0006\0\0\0009\0\1\0006\1\4\0009\1\5\1'\3\6\0B\1\2\2'\2\a\0&\1\2\1=\1\3\0K\0\1\0\18 --new-window\fBROWSER\vgetenv\aos\29instant_markdown_browser\31instant_markdown_autostart\6g\bvim\0", "config", "vim-instant-markdown")
+time([[Config for vim-instant-markdown]], false)
+-- Config for: nvim-dap-ui
+time([[Config for nvim-dap-ui]], true)
+try_loadstring("\27LJ\2\n:\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\rsetup_ui\14tms.p.dap\frequire\0", "config", "nvim-dap-ui")
+time([[Config for nvim-dap-ui]], false)
-- Config for: lexima.vim
time([[Config for lexima.vim]], true)
try_loadstring("\27LJ\2\n=\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0\30let b:lexima_disabled = 1\bcmd\bvim¤\1\1\0\5\0\n\0\r6\0\0\0009\0\1\0'\1\3\0=\1\2\0006\0\4\0'\2\5\0B\0\2\0029\0\6\0'\2\a\0005\3\b\0003\4\t\0B\0\4\1K\0\1\0\0\1\2\0\0\29FileType TelescopePrompt\20lexima_disabled\16addListener\18tms.c.autocmd\frequire\5\22lexima_map_escape\6g\bvim\0", "config", "lexima.vim")
time([[Config for lexima.vim]], false)
--- Config for: vim-composer
-time([[Config for vim-composer]], true)
-try_loadstring("\27LJ\2\n7\0\0\2\0\4\0\0056\0\0\0009\0\1\0'\1\3\0=\1\2\0K\0\1\0\rcomposer\17composer_cmd\6g\bvim\0", "config", "vim-composer")
-time([[Config for vim-composer]], false)
--- Config for: rest.nvim
-time([[Config for rest.nvim]], true)
-try_loadstring("\27LJ\2\n7\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\14rest-nvim\frequire\0", "config", "rest.nvim")
-time([[Config for rest.nvim]], false)
--- Config for: dependency-assist.nvim
-time([[Config for dependency-assist.nvim]], true)
-try_loadstring("\27LJ\2\n?\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\22dependency_assist\frequire\0", "config", "dependency-assist.nvim")
-time([[Config for dependency-assist.nvim]], false)
--- Config for: lua-dev.nvim
-time([[Config for lua-dev.nvim]], true)
-try_loadstring("\27LJ\2\n\v\0\0\1\0\0\0\1K\0\1\0\0", "config", "lua-dev.nvim")
-time([[Config for lua-dev.nvim]], false)
--- Config for: lsp-trouble.nvim
-time([[Config for lsp-trouble.nvim]], true)
-try_loadstring("\27LJ\2\n9\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\ftrouble\frequire\0", "config", "lsp-trouble.nvim")
-time([[Config for lsp-trouble.nvim]], false)
--- Config for: vifm.vim
-time([[Config for vifm.vim]], true)
-try_loadstring("\27LJ\2\nt\0\0\2\0\5\0\r6\0\0\0009\0\1\0+\1\2\0=\1\2\0006\0\0\0009\0\1\0+\1\2\0=\1\3\0006\0\0\0009\0\1\0+\1\2\0=\1\4\0K\0\1\0\23vifm_replace_netrw\23loaded_netrwPlugin\17loaded_netrw\6g\bvim\0", "config", "vifm.vim")
-time([[Config for vifm.vim]], false)
--- Config for: nvim-compe
-time([[Config for nvim-compe]], true)
-try_loadstring("\27LJ\2\n”\3\0\0\6\0\21\0'6\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\0016\0\0\0'\2\3\0B\0\2\0029\1\4\0'\3\5\0'\4\6\0005\5\a\0B\1\4\0019\1\4\0'\3\b\0'\4\t\0005\5\n\0B\1\4\0019\1\v\0'\3\f\0'\4\r\0005\5\14\0B\1\4\0019\1\15\0'\3\f\0'\4\r\0005\5\16\0B\1\4\0019\1\v\0'\3\17\0'\4\18\0005\5\19\0B\1\4\0019\1\15\0'\3\17\0'\4\18\0005\5\20\0B\1\4\1K\0\1\0\1\0\1\texpr\2\1\0\1\texpr\2\27v:lua.s_tab_complete()\f<S-Tab>\1\0\1\texpr\2\tsmap\1\0\1\texpr\2\25v:lua.tab_complete()\n<Tab>\timap\1\0\2\texpr\2\vsilent\2\25compe#close(\"<c-e>\")\n<c-e>\1\0\2\texpr\2\vsilent\2\26compe#confirm(\"<cr>\")\t<cr>\rinoremap\18tms.c.keybind\nsetup\16tms.p.compe\frequire\0", "config", "nvim-compe")
-time([[Config for nvim-compe]], false)
--- Config for: undotree
-time([[Config for undotree]], true)
-try_loadstring("\27LJ\2\n³\1\0\0\5\0\t\0\0166\0\0\0009\0\1\0)\1\2\0=\1\2\0006\0\0\0009\0\1\0)\0012\0=\1\3\0006\0\4\0'\2\5\0B\0\2\0029\1\6\0'\3\a\0'\4\b\0B\1\3\1K\0\1\0\28<cmd>UndotreeToggle<cr>\t<F5>\rnnoremap\18tms.c.keybind\frequire\24undotree_SplitWidth\26undotree_WindowLayout\6g\bvim\0", "config", "undotree")
-time([[Config for undotree]], false)
--- Config for: telescope.nvim
-time([[Config for telescope.nvim]], true)
-try_loadstring("\27LJ\2\n–\6\0\0\6\0+\0_6\0\0\0'\2\1\0B\0\2\0029\1\2\0B\1\1\0016\1\0\0'\3\3\0B\1\2\0029\2\4\1'\4\5\0009\5\6\0009\5\a\5B\2\3\0019\2\4\1'\4\b\0009\5\t\0B\2\3\0019\2\4\1'\4\n\0009\5\6\0009\5\t\5B\2\3\0019\2\4\1'\4\v\0009\5\6\0009\5\f\5B\2\3\0019\2\4\1'\4\r\0009\5\14\0B\2\3\0019\2\4\1'\4\15\0009\5\16\0B\2\3\0019\2\4\1'\4\17\0009\5\6\0009\5\18\5B\2\3\0019\2\4\1'\4\19\0009\5\6\0009\5\20\5B\2\3\0019\2\4\1'\4\21\0009\5\6\0009\5\22\5B\2\3\0019\2\4\1'\4\23\0009\5\6\0009\5\24\5B\2\3\0019\2\4\1'\4\25\0009\5\26\0B\2\3\0019\2\4\1'\4\27\0009\5\6\0009\5\28\5B\2\3\0019\2\4\1'\4\29\0009\5\30\0B\2\3\0019\2\4\1'\4\31\0009\5 \0B\2\3\0019\2\4\1'\4!\0009\5\"\0B\2\3\0019\2\4\1'\4#\0009\5$\0B\2\3\0019\2\4\1'\4%\0009\5\6\0009\5&\5B\2\3\0019\2\4\1'\4'\0009\5\6\0009\5(\5B\2\3\0019\2\4\1'\4)\0009\5*\0B\2\3\1K\0\1\0\fplugins\r<space>P\15treesitter\r<space>t\roldfiles\r<space>o\16edit_neovim\r<space>n\rsnippets\r<space>s\18spell_suggest\r<space>S\rreloader\r<space>p\14man_pages\r<space>m\fkeymaps\r<space>k\rquickfix\r<space>q\15git_status\r<space>c\16grep_string\r<space>e\14live_grep\r<space>r\nlines\r<space>l\fbuffers\r<space>b\14git_files\r<space>g\r<space>D\15find_files\r<space>d\14help_tags\6b\r<space>h\rnnoremap\18tms.c.keybind\nsetup\20tms.p.telescope\frequire\0", "config", "telescope.nvim")
-time([[Config for telescope.nvim]], false)
--- Config for: sideways.vim
-time([[Config for sideways.vim]], true)
-try_loadstring("\27LJ\2\nž\4\0\0\5\0\23\0,6\0\0\0'\2\1\0B\0\2\0029\1\2\0'\3\3\0'\4\4\0B\1\3\0019\1\2\0'\3\5\0'\4\6\0B\1\3\0019\1\a\0005\3\b\0'\4\t\0B\1\3\0019\1\n\0005\3\v\0'\4\t\0B\1\3\0019\1\a\0'\3\f\0'\4\r\0B\1\3\0019\1\n\0'\3\f\0'\4\r\0B\1\3\0019\1\14\0'\3\15\0'\4\16\0B\1\3\0019\1\14\0'\3\17\0'\4\18\0B\1\3\0019\1\14\0'\3\19\0'\4\20\0B\1\3\0019\1\14\0'\3\21\0'\4\22\0B\1\3\1K\0\1\0%<Plug>SidewaysArgumentAppendLast\15<leader>aL%<Plug>SidewaysArgumentInsertFirt\15<leader>aH&<Plug>SidewaysArgumentAppendAfter\15<leader>al'<Plug>SidewaysArgumentInsertBefore\15<leader>ah\tnmap#<Plug>SidewaysArgumentTextobjI\aia\1\3\0\0\aaa\aa.\txmap#<Plug>SidewaysArgumentTextobjA\1\3\0\0\aaa\aa.\tomap\23:SidewaysRight<cr>\n<c-l>\22:SidewaysLeft<cr>\n<c-h>\rnnoremap\18tms.c.keybind\frequire\0", "config", "sideways.vim")
-time([[Config for sideways.vim]], false)
+-- Config for: beacon.nvim
+time([[Config for beacon.nvim]], true)
+try_loadstring("\27LJ\2\nå\1\0\0\5\0\15\0\0246\0\0\0009\0\1\0005\1\3\0=\1\2\0006\0\4\0'\2\5\0B\0\2\0029\1\6\0'\3\a\0'\4\b\0B\1\3\0019\1\6\0'\3\t\0'\4\n\0B\1\3\0019\1\6\0'\3\v\0'\4\f\0B\1\3\0019\1\6\0'\3\r\0'\4\14\0B\1\3\1K\0\1\0\17#:Beacon<cr>\6#\17*:Beacon<cr>\6*\17N:Beacon<cr>\6N\17n:Beacon<cr>\6n\tnmap\18tms.c.keybind\frequire\1\2\0\0\tvifm\28beacon_ignore_filetypes\6g\bvim\0", "config", "beacon.nvim")
+time([[Config for beacon.nvim]], false)
+-- Config for: zen-mode.nvim
+time([[Config for zen-mode.nvim]], true)
+try_loadstring("\27LJ\2\nˆ\1\0\0\5\0\a\0\0146\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\0016\0\0\0'\2\3\0B\0\2\0029\1\4\0'\3\5\0'\4\6\0B\1\3\1K\0\1\0\21<cmd>ZenMode<cr>\14<leader>z\rnnoremap\18tms.c.keybind\nsetup\rzen-mode\frequire\0", "config", "zen-mode.nvim")
+time([[Config for zen-mode.nvim]], false)
+-- Config for: nvim-solarized-lua
+time([[Config for nvim-solarized-lua]], true)
+try_loadstring("\27LJ\2\n\v\0\0\1\0\0\0\1K\0\1\0\0", "config", "nvim-solarized-lua")
+time([[Config for nvim-solarized-lua]], false)
-- Load plugins in order defined by `after`
time([[Sequenced loading]], true)
-vim.cmd [[ packadd colorbuddy.nvim ]]
-
--- Config for: colorbuddy.nvim
-try_loadstring("\27LJ\2\n8\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\15tms.colors\frequire\0", "config", "colorbuddy.nvim")
-
vim.cmd [[ packadd telescope-fzf-native.nvim ]]
-- Config for: telescope-fzf-native.nvim
try_loadstring("\27LJ\2\nH\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\1K\0\1\0\bfzf\19load_extension\14telescope\frequire\0", "config", "telescope-fzf-native.nvim")
+vim.cmd [[ packadd telescope-snippets.nvim ]]
+
+-- Config for: telescope-snippets.nvim
+try_loadstring("\27LJ\2\n‚\2\0\0\5\0\n\0\0186\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\0016\0\0\0'\2\4\0B\0\2\0029\1\5\0'\3\6\0'\4\a\0B\1\3\0019\1\5\0'\3\b\0'\4\t\0B\1\3\1K\0\1\0007<cmd>lua require\"snippets\".advance_snippet(-1)<cr>\n<c-k>7<cmd>lua require\"snippets\".expand_or_advance()<cr>\n<c-j>\rinoremap\18tms.c.keybind\rsnippets\19load_extension\14telescope\frequire\0", "config", "telescope-snippets.nvim")
+
vim.cmd [[ packadd telescope-dap.nvim ]]
-- Config for: telescope-dap.nvim
try_loadstring("\27LJ\2\nH\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\1K\0\1\0\bdap\19load_extension\14telescope\frequire\0", "config", "telescope-dap.nvim")
-vim.cmd [[ packadd telescope-snippets.nvim ]]
+vim.cmd [[ packadd colorbuddy.nvim ]]
--- Config for: telescope-snippets.nvim
-try_loadstring("\27LJ\2\n‚\2\0\0\5\0\n\0\0186\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\0016\0\0\0'\2\4\0B\0\2\0029\1\5\0'\3\6\0'\4\a\0B\1\3\0019\1\5\0'\3\b\0'\4\t\0B\1\3\1K\0\1\0007<cmd>lua require\"snippets\".advance_snippet(-1)<cr>\n<c-k>7<cmd>lua require\"snippets\".expand_or_advance()<cr>\n<c-j>\rinoremap\18tms.c.keybind\rsnippets\19load_extension\14telescope\frequire\0", "config", "telescope-snippets.nvim")
+-- Config for: colorbuddy.nvim
+try_loadstring("\27LJ\2\n8\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\15tms.colors\frequire\0", "config", "colorbuddy.nvim")
time([[Sequenced loading]], false)
+vim.cmd [[augroup packer_load_aucmds]]
+vim.cmd [[au!]]
+ -- Filetype lazy-loads
+time([[Defining lazy-load filetype autocommands]], true)
+vim.cmd [[au FileType dart ++once lua require("packer.load")({'dart-vim-plugin'}, { ft = "dart" }, _G.packer_plugins)]]
+time([[Defining lazy-load filetype autocommands]], false)
+vim.cmd("augroup END")
+vim.cmd [[augroup filetypedetect]]
+time([[Sourcing ftdetect script at: /home/tms/.local/share/nvim/site/pack/packer/opt/dart-vim-plugin/ftdetect/dart.vim]], true)
+vim.cmd [[source /home/tms/.local/share/nvim/site/pack/packer/opt/dart-vim-plugin/ftdetect/dart.vim]]
+time([[Sourcing ftdetect script at: /home/tms/.local/share/nvim/site/pack/packer/opt/dart-vim-plugin/ftdetect/dart.vim]], false)
+vim.cmd("augroup END")
if should_profile then save_profiles() end
end)
diff --git a/test/dart/dart.lua b/test/dart/dart.lua
@@ -1,60 +0,0 @@
-local tsu = require('nvim-treesitter.ts_utils')
-
-local M = {}
-
-M.getNameFromBody = function(node)
- if (node:type():find('function_body')) then
- local previous = tsu.get_previous_node(node)
- if previous:type() == 'method_signature' then
- previous = previous:child()
- for i, v in previous:iter_children() do
- if v == 'name' then
- return tsu.get_node_text(i)[1] or nil
- end
- end
- elseif previous:type() == 'function_signature' then
- for i, v in previous:iter_children() do
- if v == 'name' then
- return tsu.get_node_text(i)[1] or nil
- end
- end
- end
- end
-end
-
-M.getNameForClassDef = function(node)
- if node:type() == 'class_definition' then
- for no, na in node:iter_children() do
- if na == 'name' then
- return tsu.get_node_text(no)[1] or nil
- end
- end
- end
-end
-
-M.getMethodName = function(n)
- local node = n or tsu.get_node_at_cursor()
- while node do
- if (node:type():find('function_body')) then
- return M.getNameFromBody(node)
- end
- node = node:parent()
- end
-end
-
-M.treeFor = function(node)
- node = node or tsu.get_node_at_cursor()
- local out = {}
- while node do
- if node:type() == 'function_body' then
- local name = M.getNameFromBody(node)
- table.insert(out, name)
- elseif node:type() == 'class_definition' then
- table.insert(out, M.getNameForClassDef(node))
- end
- node = node:parent()
- end
- return out
-end
-
-return M
diff --git a/test/dart/print.lua b/test/dart/print.lua
@@ -1,18 +0,0 @@
-local tsu = require('nvim-treesitter.ts_utils')
-local parsers = require('nvim-treesitter.parsers')
-local range = require('tms.ts.range')
-local du = require('dart')
-local api = vim.api
-local ts = vim.treesitter
-
-local function get_line_indent() return api.nvim_get_current_line():match('^%s+') or '' end
-
-Test = function()
- local tree = du.treeFor()
- local _, sr, _, _, _ = unpack(vim.fn.getcurpos())
- local bufnr = api.nvim_get_current_buf()
- local r = range:from_lsp_range(vim.lsp.util.make_range_params().range, bufnr)
- local string = string.format('print(\'%s\');', table.concat(tree, '.'))
- vim.lsp.util.apply_text_edits({r:to_lsp_text_edit(string)}, bufnr)
- api.nvim_feedkeys('==', 'n', false)
-end
diff --git a/test/dart/test.dart b/test/dart/test.dart
@@ -1,15 +0,0 @@
-class Test extends A {
- void test() {
- void trem() {
- print('trem.test.Test');
- }
-
- print('');
- }
-
- void aha() {
- print('');
- }
-}
-
-class A {}