repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

neovim: fixed vim.validate depractations neovim: adds d2 treesitter parser

987014f364dc47e850f12739fe2e8165acaf6d41

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (22)

neovim/.refactor/rule-tests/.gitkeep

Added
new file mode 100644

No text changes.

neovim/.refactor/rule-tests/vim.validate.deprecation-test.yml

Added
new file mode 100644
1 +id: test
2 +valid:
3 +- "valid code"
4 +invalid:
5 +- "invalid code"

neovim/.refactor/rules/.gitkeep

Added
new file mode 100644

No text changes.

neovim/.refactor/rules/vim.validate.deprecation.yml

Added
new file mode 100644
1 +# yaml-language-server: $schema=https://raw.githubusercontent.com/ast-grep/ast-grep/main/schemas/rule.json
3 +id: vim.validation.deprecation
4 +language: Lua
5 +severity: error
6 +message: Add your rule message here....
7 +rule:
8 + pattern: vim.validate { $VALUE = { $VALUE, $TYPE } }
9 +fix: vim.validate('$VALUE', $VALUE, $TYPE)
10 +note: vim.validate API in neovim 0.11 got deprecated in favor of new signature

neovim/.refactor/utils/.gitkeep

Added
new file mode 100644

No text changes.

neovim/init.lua

Modified
21 21 -- setup debug mode
22 -vim.g.bugabinga_debug_mode = true
22 +vim.g.bugabinga_debug_mode = false
23 23 -- start `profiler.nvim` with `NVIM_PROFILE=1 nvim ...` to instrument all modules,
24 24 -- but not start profiler yet.
25 25 -- or `NVIM_PROFILE=start nvim ...` to start the profiler on startup

neovim/justfile

Modified
20 20 rm --interactive --recursive --force (nvim "--headless" "--clean" +'lua print(vim.fn.stdpath[[data]])' +q | complete | get stderr)
21 21 rm --interactive --recursive --force (nvim "--headless" "--clean" +'lua print(vim.fn.stdpath[[cache]])' +q | complete | get stderr)
22 22 rm --interactive --recursive --force (nvim "--headless" "--clean" +'lua print(vim.fn.stdpath[[state]])' +q | complete | get stderr)
24 +# run ast-grep refactoring on the neovim configuration
25 +refac:
26 + ast-grep scan --interactive

neovim/lua/bugabinga/colorizer.lua

Modified
4 4 local puk = require 'std.puk'
5 5 puk.defer 'colorizer' (function( colors )
6 6 colors.setup {
7 7 lazy_load = true,
8 8 user_default_options = {
9 9 mode = 'virtualtext',
10 - -- virtualtext_inline = true,
11 - css = true,
12 - xterm = true,
10 + virtualtext_inline = true,
11 + css = false,
12 + xterm = false,
13 13 names_custom = function()
14 14 return require 'bugabinga.nugu.palette'
15 15 end,

neovim/lua/bugabinga/health.lua

Modified
6 6 local _ = {}
8 -local function program_installed( name_of_executable )
9 - return (vim.fn.executable( name_of_executable ) ~= 0)
8 +local function program_installed(name_of_executable)
9 + return (vim.fn.executable(name_of_executable) ~= 0)
12 -local function check_program( name, name_of_executable )
13 - local display_name = name and (name .. '(' .. name_of_executable .. ')') or name_of_executable
14 - vim.health.start( display_name .. ' report' )
15 - if program_installed( name_of_executable ) then
16 - vim.health.ok( display_name .. ' found on system' )
17 - else
18 - vim.health.error( display_name .. ' is not installed on the system' )
19 - end
12 +local function check_program(name, name_of_executable)
13 + local display_name = name and (name .. '(' .. name_of_executable .. ')') or name_of_executable
14 + vim.health.start(display_name .. ' report')
15 + if program_installed(name_of_executable) then
16 + vim.health.ok(display_name .. ' found on system')
17 + else
18 + vim.health.error(display_name .. ' is not installed on the system')
19 + end
22 22 local programs_to_check = {}
24 -_.add_dependency = function ( program )
25 - vim.validate {
26 - program = { program, 'table', },
27 - name_of_executable = { program.name_of_executable, 'string', },
28 - }
24 +_.add_dependency = function(program)
25 + vim.validate('program', program, 'table')
26 + vim.validate('name_of_executable', program.name_of_executable, 'string')
30 - programs_to_check[program.name_of_executable] = program
28 + programs_to_check[program.name_of_executable] = program
32 - -- returns itself so that multiple programs can be chain-added
33 - return _.add_dependency
30 + -- returns itself so that multiple programs can be chain-added
31 + return _.add_dependency
36 -_.check = function ()
37 - vim.iter( programs_to_check )
38 - :each( function ( _, program )
39 - check_program( program.name, program.name_of_executable )
40 - end )
34 +_.check = function()
35 + vim.iter(programs_to_check)
36 + :each(function(_, program)
37 + check_program(program.name, program.name_of_executable)
38 + end)
43 41 return _

neovim/lua/bugabinga/nugu/init.lua

Modified
42 42 vim.g.terminal_color_15 = content_normal -- white
44 44 local set_group_properties = function(self, properties)
45 - vim.validate {
46 - properties = { properties, 'table' },
47 - -- • fg (or foreground): color name or "#RRGGBB", see note.
48 - ['properties.fg'] = { properties.fg, 'string', true },
49 - -- • bg (or background): color name or "#RRGGBB", see note.
50 - ['properties.bg'] = { properties.bg, 'string', true },
51 - -- • sp (or special): color name or "#RRGGBB"
52 - ['properties.sp'] = { properties.sp, 'string', true },
53 - -- • blend: integer between 0 and 100
54 - ['properties.blend'] = { properties.blend, 'number', true },
55 - -- • bold: boolean
56 - ['properties.bold'] = { properties.bold, 'boolean', true },
57 - -- • standout: boolean
58 - ['properties.standout'] = { properties.standout, 'boolean', true },
59 - -- • underline: boolean
60 - ['properties.underline'] = { properties.underline, 'boolean', true },
61 - -- • undercurl: boolean
62 - ['properties.undercurl'] = { properties.undercurl, 'boolean', true },
63 - -- • underdotted: boolean
64 - ['properties.underdotted'] = { properties.underdotted, 'boolean', true },
65 - -- • underdashed: boolean
66 - ['properties.underdashed'] = { properties.underdashed, 'boolean', true },
67 - -- • strikethrough: boolean
68 - ['properties.strikethrough'] = { properties.strikethrough, 'boolean', true },
69 - -- • italic: boolean
70 - ['properties.italic'] = { properties.italic, 'boolean', true },
71 - -- • reverse: boolean
72 - ['properties.reverse'] = { properties.reverse, 'boolean', true },
73 - -- • nocombine: boolean
74 - ['properties.nocombine'] = { properties.nocombine, 'boolean', true },
75 - -- • default: Don't override existing definition |:hi-default|
76 - ['properties.default'] = { properties.default, 'boolean', true },
77 - -- • ctermfg: Sets foreground of cterm color |ctermfg|
78 - ['properties.ctermfg'] = { properties.ctermfg, 'string', true },
79 - -- • ctermbg: Sets background of cterm color |ctermbg|
80 - ['properties.ctermbg'] = { properties.ctermbg, 'string', true },
81 - -- • cterm: cterm attribute map, like |highlight-args|. If not set, cterm attributes will match those from the attribute map documented above.
82 - ['properties.cterm'] = { properties.cterm, 'table', true },
83 - -- • force: if true force update the highlight group when it exists.
84 - ['properties.force'] = { properties.force, 'boolean', true },
85 - }
86 - -- vim.print( 'SET GROUP PROPERTIES', self, properties )
87 - for key, value in pairs(properties) do
88 - self[key] = value
89 - end
45 + vim.validate('properties', properties, 'table')
46 + vim.validate('properties.fg', properties.fg, 'string', true)
47 + vim.validate('properties.bg', properties.bg, 'string', true)
48 + vim.validate('properties.sp', properties.sp, 'string', true)
49 + vim.validate('properties.blend', properties.blend, 'number', true)
50 + vim.validate('properties.bold', properties.bold, 'boolean', true)
51 + vim.validate('properties.standout', properties.standout, 'boolean', true)
52 + vim.validate('properties.underline', properties.underline, 'boolean', true)
53 + vim.validate('properties.undercurl', properties.undercurl, 'boolean', true)
54 + vim.validate('properties.underdotted', properties.underdotted, 'boolean', true)
55 + vim.validate('properties.underdashed', properties.underdashed, 'boolean', true)
56 + vim.validate('properties.strikethrough', properties.strikethrough, 'boolean', true)
57 + vim.validate('properties.italic', properties.italic, 'boolean', true)
58 + vim.validate('properties.reverse', properties.reverse, 'boolean', true)
59 + vim.validate('properties.nocombine', properties.nocombine, 'boolean', true)
60 + vim.validate('properties.default', properties.default, 'boolean', true)
61 + vim.validate('properties.ctermfg', properties.ctermfg, 'string', true)
62 + vim.validate('properties.ctermbg', properties.ctermbg, 'string', true)
63 + vim.validate('properties.cterm', properties.cterm, 'table', true)
64 + vim.validate('properties.force', properties.force, 'boolean', true)
66 + -- vim.print( 'SET GROUP PROPERTIES', self, properties )
67 + for key, value in pairs(properties) do
68 + self[key] = value
69 + end
92 72 local new_group = function()
93 - return setmetatable({}, {
94 - __call = set_group_properties,
95 - })
73 + return setmetatable({}, {
74 + __call = set_group_properties,
75 + })
98 78 local add_group = function(self, key)
99 - if not self.groups[key] then
100 - self.groups[key] = new_group()
101 - end
102 - return self.groups[key]
79 + if not self.groups[key] then
80 + self.groups[key] = new_group()
81 + end
82 + return self.groups[key]
105 85 local link_group = function(self, key, value)
106 - -- vim.print( 'linking group', self, key, value )
107 - local group = add_group(self, key)
108 - for name, group_link in pairs(self.groups) do
109 - if group_link == value then
110 - -- vim.print( 'found group to link ' .. name .. ' to ' .. key )
111 - group.link = name
112 - return group
113 - end
114 - end
86 + -- vim.print( 'linking group', self, key, value )
87 + local group = add_group(self, key)
88 + for name, group_link in pairs(self.groups) do
89 + if group_link == value then
90 + -- vim.print( 'found group to link ' .. name .. ' to ' .. key )
91 + group.link = name
92 + return group
93 + end
94 + end
117 97 local _ = setmetatable({ groups = {} }, {
118 - __index = add_group,
119 - __newindex = link_group,
98 + __index = add_group,
99 + __newindex = link_group,
122 102 _.Debug { fg = ui_normal, bg = debug, bold = true }
341 321 _['@lsp.typemod.parameter.declaration'] = _.Parameter
343 323 return function()
344 - local namespace = 0
345 - for name, group in pairs(_.groups) do
346 - vim.api.nvim_set_hl(namespace, name, group)
347 - end
324 + local namespace = 0
325 + for name, group in pairs(_.groups) do
326 + vim.api.nvim_set_hl(namespace, name, group)
327 + end

neovim/lua/bugabinga/options/filetypes.lua

Modified
1 1 vim.filetype.add {
2 - extension = {
3 - norg = 'norg',
4 - prg = 'vfp',
5 - nuon = 'nu',
6 - },
7 - pattern = {
8 - ['.*/%.vscode/.*%.json'] = 'json5', -- These json files frequently have comments
9 - README = 'markdown',
10 - TODO = 'markdown',
11 - COMMANDS = 'markdown',
12 - DEPENDENCIES = 'markdown',
13 - ROADMAP = 'markdown',
14 - },
2 + extension = {
3 + norg = 'norg',
4 + prg = 'vfp',
5 + nuon = 'nu',
6 + d2 = 'd2'
7 + },
8 + pattern = {
9 + ['.*/%.vscode/.*%.json'] = 'json5', -- These json files frequently have comments
10 + README = 'markdown',
11 + TODO = 'markdown',
12 + COMMANDS = 'markdown',
13 + DEPENDENCIES = 'markdown',
14 + ROADMAP = 'markdown',
15 + },

neovim/lua/bugabinga/sessions.lua

Modified
13 13 local encode = function ( data )
14 - vim.validate { data = { data, 'string' } }
14 + vim.validate('data', data, 'string')
16 16 -- replace some chars in base64, that are not allowed in file names.
17 17 return vim.base64.encode( data ):gsub( '%+', '-' ):gsub( '%/', '.' ):gsub( '%=', '_' )
20 20 local decode = function ( data )
21 - vim.validate { data = { data, 'string' } }
21 + vim.validate('data', data, 'string')
22 22 return vim.base64.decode( data:gsub( '%-', '+' ):gsub( '%.', '/' ):gsub( '%_', '=' )

neovim/lua/bugabinga/treesitter.lua

Modified
6 6 require 'bugabinga.health'.add_dependency
7 7 { name_of_executable = 'zig' }
8 - { name = 'TreeSitter CLI', name_of_executable = 'tree-sitter' }
9 - { name_of_executable = 'tar' }
10 - { name_of_executable = 'curl' }
8 + { name = 'TreeSitter CLI', name_of_executable = 'tree-sitter' }
9 + { name_of_executable = 'tar' }
10 + { name_of_executable = 'curl' }
12 12 local treesitter = puk 'nvim-treesitter'
13 13 treesitter.setup {}
15 15 auto 'look_for_treesitter_parser' {
16 - description = 'Try loading a treesitter parser, if available.',
17 - events = 'FileType',
18 - pattern = '*',
19 - command = function(data)
20 - local match = data.match
21 - if match == 'text' then return end
22 - if table.contains(ignored.filetypes, match) then
23 - vim.notify('Ignore ' .. match .. ' for treesitter.', vim.log.levels.TRACE)
24 - return
25 - end
26 - local ok, err = pcall(vim.treesitter.start)
27 - if not ok then
28 - local available = require 'nvim-treesitter.parsers'
29 - local potential_parser = available[match]
30 - if potential_parser then
31 - vim.notify('Found potential treesitter parser for current filetype. Trying to install it. ' .. match)
32 - vim.cmd.TSInstall(match)
33 - require 'nvim-treesitter.install'.install(match, { force = false }, function()
34 - vim.treesitter.start()
35 - -- vim.cmd.edit()
36 - end)
37 - elseif err then
38 - vim.notify(err, vim.log.levels.ERROR)
39 - end
40 - return
41 - end
42 - vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()"
43 - vim.wo.foldexpr = 'v:lua.vim.treesitter.foldexpr()'
44 - end,
16 + description = 'Try loading a treesitter parser, if available.',
17 + events = 'FileType',
18 + pattern = '*',
19 + command = function(data)
20 + local match = data.match
21 + if match == 'text' then return end
22 + if table.contains(ignored.filetypes, match) then
23 + vim.notify('Ignore ' .. match .. ' for treesitter.', vim.log.levels.TRACE)
24 + return
25 + end
26 + local ok, err = pcall(vim.treesitter.start)
27 + if not ok then
28 + local available = require 'nvim-treesitter.parsers'
29 + local potential_parser = available[match]
30 + if potential_parser then
31 + vim.notify('Found potential treesitter parser for current filetype. Trying to install it. ' .. match)
32 + vim.cmd.TSInstall(match)
33 + require 'nvim-treesitter.install'.install(match, { force = false }, function()
34 + vim.treesitter.start()
35 + -- vim.cmd.edit()
36 + end)
37 + elseif err then
38 + vim.notify(err, vim.log.levels.ERROR)
39 + end
40 + return
41 + end
42 + vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()"
43 + vim.wo.foldexpr = 'v:lua.vim.treesitter.foldexpr()'
44 + end,
46 46 -- add asciidoc parser
47 47 auto 'install_asciidoc_parser' {
48 - description = "Install asciidoc parser into nvim-treesitter",
49 - events = 'User',
50 - pattern = 'TSUpdate',
51 - command = function()
52 - require('nvim-treesitter.parsers').asciidoc = {
53 - install_info = {
54 - url = 'https://github.com/cathaysia/tree-sitter-asciidoc',
55 - revision = "5b6ccea9953b939959f447f7bfea699ae6968a99",
56 - branch = 'master', -- only needed if different from default branch
57 - location = 'tree-sitter-asciidoc',
58 - generate = false,
59 - generate_from_json = false,
60 - queries = 'queries/asciidoc', -- also install queries from given directory
61 - },
62 - }
63 - end,
48 + description = "Install asciidoc parser into nvim-treesitter",
49 + events = 'User',
50 + pattern = 'TSUpdate',
51 + command = function()
52 + require('nvim-treesitter.parsers').asciidoc = {
53 + install_info = {
54 + url = 'https://github.com/cathaysia/tree-sitter-asciidoc',
55 + revision = "5b6ccea9953b939959f447f7bfea699ae6968a99",
56 + branch = 'master', -- only needed if different from default branch
57 + location = 'tree-sitter-asciidoc',
58 + generate = false,
59 + generate_from_json = false,
60 + queries = 'queries/asciidoc', -- also install queries from given directory
61 + },
62 + }
63 + end,
65 +-- add d2 parser
66 +vim.treesitter.language.register("d2", "d2")
67 +auto 'install_d2_parser' {
68 + description = "Install d2 parser into nvim-treesitter",
69 + events = 'User',
70 + pattern = 'TSUpdate',
71 + command = function()
72 + require('nvim-treesitter.parsers').d2 = {
73 + install_info = {
74 + url = 'https://github.com/ravsii/tree-sitter-d2',
75 + revision = '519f92699691d101d1aa91f69956383de7b28ae6',
76 + branch = 'main', -- only needed if different from default branch
77 + generate = true,
78 + generate_from_json = true,
79 + queries = 'queries', -- also install queries from given directory
80 + },
81 + }
82 + end,

neovim/lua/std/auto.lua

Modified
2 2 --- Wrapper over `vim.api.nvim_create_autocmd` for automatic grouping and idempotency.
3 3 --- @param group_name string name of the group of autocommands to define
4 4 --- @return function a function to add new autocommands to the defined group
5 5 return function(group_name)
6 - local group = vim.api.nvim_create_augroup(group_name, { clear = true, })
7 - --- adds new autocommands to the outer group
8 - --- @param list_of_autocommands table a single autocommand definition, or a list of those.
9 - return function(list_of_autocommands)
10 - if list_of_autocommands.events then
11 - list_of_autocommands = { list_of_autocommands, }
12 - end
13 - for _, autocommand in ipairs(list_of_autocommands) do
14 - vim.validate {
15 - ['autocommand.events'] = { autocommand.events, { 'string', 'table' } },
16 - ['autocommand.command'] = { autocommand.command, { 'string', 'function' }, true },
17 - ['autocommand.callback'] = { autocommand.callback, 'function', true },
18 - ['autocommand.description'] = { autocommand.description, 'string', true },
19 - ['autocommand.buffer'] = { autocommand.buffer, 'number', true },
20 - ['autocommand.once'] = { autocommand.once, 'boolean', true },
21 - ['autocommand.pattern'] = { autocommand.pattern, { 'string', 'table' }, true },
22 - }
23 - -- command and callback are mutually exclusive.
24 - -- one of them has to be nil
25 - local command = nil
26 - local callback = nil
27 - if type(autocommand.command) == 'function' then
28 - callback = autocommand.command
29 - else
30 - command = autocommand.command
31 - end
32 - vim.api.nvim_create_autocmd(autocommand.events, {
33 - desc = autocommand.description,
34 - group = group,
35 - buffer = autocommand.buffer,
36 - pattern = autocommand.pattern,
37 - once = autocommand.once,
38 - command = command,
39 - callback = callback,
40 - })
41 - end
42 - end
6 + local group = vim.api.nvim_create_augroup(group_name, { clear = true, })
7 + --- adds new autocommands to the outer group
8 + --- @param list_of_autocommands table a single autocommand definition, or a list of those.
9 + return function(list_of_autocommands)
10 + if list_of_autocommands.events then
11 + list_of_autocommands = { list_of_autocommands, }
12 + end
13 + for _, autocommand in ipairs(list_of_autocommands) do
14 + vim.validate('autocommand.events', autocommand.events, { 'string', 'table' })
15 + vim.validate('autocommand.command', autocommand.command, { 'string', 'function' }, true)
16 + vim.validate('autocommand.callback', autocommand.callback, 'function', true)
17 + vim.validate('autocommand.description', autocommand.description, 'string', true)
18 + vim.validate('autocommand.buffer', autocommand.buffer, 'number', true)
19 + vim.validate('autocommand.once', autocommand.once, 'boolean', true)
20 + vim.validate('autocommand.pattern', autocommand.pattern, { 'string', 'table' }, true)
21 + -- command and callback are mutually exclusive.
22 + -- one of them has to be nil
23 + local command = nil
24 + local callback = nil
25 + if type(autocommand.command) == 'function' then
26 + callback = autocommand.command
27 + else
28 + command = autocommand.command
29 + end
30 + vim.api.nvim_create_autocmd(autocommand.events, {
31 + desc = autocommand.description,
32 + group = group,
33 + buffer = autocommand.buffer,
34 + pattern = autocommand.pattern,
35 + once = autocommand.once,
36 + command = command,
37 + callback = callback,
38 + })
39 + end
40 + end

neovim/lua/std/ignored.lua

Modified
39 39 local as_kv = function(list)
40 40 local tbl = {}
41 41 for _, value in ipairs(list) do
42 - vim.validate { value = { value, 'string' } }
42 + vim.validate('value', value, 'string')
43 43 tbl[value] = true
45 45 return tbl

neovim/lua/std/light_up.lua

Modified
5 5 --- @param bufnr number Number of buffer to highlight. If 0, current buffer is used.
6 6 --- @param words table Word to highlight group name mapping. Every occurrence with keys in this table, will be
7 7 --- highlighted with its mapped value, which is expected to be a highlight group name.
8 -_.buffer = function ( bufnr, words )
9 - vim.validate {
10 - bufnr = { bufnr, 'number', },
11 - words = { words, 'table', },
12 - }
8 +_.buffer = function(bufnr, words)
9 + vim.validate('bufnr', bufnr, 'number')
10 + vim.validate('words', words, 'table')
14 - local namespace = vim.api.nvim_create_namespace 'light_up_ns'
15 - vim.api.nvim_buf_clear_namespace( bufnr, namespace, 0, -1 )
12 + local namespace = vim.api.nvim_create_namespace 'light_up_ns'
13 + vim.api.nvim_buf_clear_namespace(bufnr, namespace, 0, -1)
17 - local handler = function ( event, buffer_handle, tick, first_line, last_line_changed, last_line_updated, bytes )
18 - -- vim.print( event, buffer_handle, tick, first_line, last_line_changed, last_line_updated, bytes )
19 - assert( event == 'lines', 'this handler is for `on_lines` notification' )
15 + local handler = function(event, buffer_handle, tick, first_line, last_line_changed, last_line_updated, bytes)
16 + -- vim.print( event, buffer_handle, tick, first_line, last_line_changed, last_line_updated, bytes )
17 + assert(event == 'lines', 'this handler is for `on_lines` notification')
21 - local last = math.max( last_line_updated, last_line_changed )
22 - local lines = vim.api.nvim_buf_get_lines( bufnr, first_line, last, true )
23 - --NOTE: dubbel loop. can we faster?
24 - for index, line in ipairs( lines ) do
25 - local current_line = first_line + index - 1 -- adjust for 0-based indexing
26 - for word, highlight_group in pairs( words ) do
27 - -- NOTE: the way find is used here, we can only ever match one word per line
28 - -- vim.print( 'looking for word ', word, line )
29 - local start_offset, end_offset = line:find( '[%s%.](' .. word .. ')[%s$]' )
30 - if start_offset then
31 - -- vim.print( 'marking line ' .. current_line, start_offset, end_offset, highlight_group )
32 - vim.api.nvim_buf_set_extmark( bufnr, namespace, current_line, start_offset, {
33 - end_col = end_offset - 1,
34 - hl_group = highlight_group,
35 - } )
36 - break
37 - end
38 - end
39 - end
40 - end
19 + local last = math.max(last_line_updated, last_line_changed)
20 + local lines = vim.api.nvim_buf_get_lines(bufnr, first_line, last, true)
21 + --NOTE: dubbel loop. can we faster?
22 + for index, line in ipairs(lines) do
23 + local current_line = first_line + index - 1 -- adjust for 0-based indexing
24 + for word, highlight_group in pairs(words) do
25 + -- NOTE: the way find is used here, we can only ever match one word per line
26 + -- vim.print( 'looking for word ', word, line )
27 + local start_offset, end_offset = line:find('[%s%.](' .. word .. ')[%s$]')
28 + if start_offset then
29 + -- vim.print( 'marking line ' .. current_line, start_offset, end_offset, highlight_group )
30 + vim.api.nvim_buf_set_extmark(bufnr, namespace, current_line, start_offset, {
31 + end_col = end_offset - 1,
32 + hl_group = highlight_group,
33 + })
34 + break
35 + end
36 + end
37 + end
38 + end
42 - local ok = vim.api.nvim_buf_attach( bufnr, false, { on_lines = handler, } )
43 - if not ok then error( 'unable to attach to buffer ' .. bufnr ) end
40 + local ok = vim.api.nvim_buf_attach(bufnr, false, { on_lines = handler, })
41 + if not ok then error('unable to attach to buffer ' .. bufnr) end
45 - -- initial scan of whole buffer
46 - handler( 'lines', bufnr, nil, 0, -1, -1, nil )
43 + -- initial scan of whole buffer
44 + handler('lines', bufnr, nil, 0, -1, -1, nil)
49 47 --- @return table groups A map of all highlight group names, mapping to themselves g:match('^([%w@%._]+)%s').
50 -_.get_vim_highlight_groups = function ()
51 - local groups = {}
48 +_.get_vim_highlight_groups = function()
49 + local groups = {}
53 - local highlight_command_output = vim.fn.execute 'highlight'
54 - for line in highlight_command_output:gmatch '[^\n]+' do
55 - -- Delimiter xxx guifg=#727272
56 - -- @punctuation.special xxx links to Special
57 - -- Match anything that could be a valid highlight name
58 - local match = line:match '^([%w@%._]+)%s'
59 - if match then groups[match] = match end
60 - end
51 + local highlight_command_output = vim.fn.execute 'highlight'
52 + for line in highlight_command_output:gmatch '[^\n]+' do
53 + -- Delimiter xxx guifg=#727272
54 + -- @punctuation.special xxx links to Special
55 + -- Match anything that could be a valid highlight name
56 + local match = line:match '^([%w@%._]+)%s'
57 + if match then groups[match] = match end
58 + end
62 - return groups
60 + return groups
65 63 return _

neovim/lua/std/map.lua

Modified
1 1 local available_modes = {
2 - normal_visual_select_operator_pending = '',
3 - N = '',
2 + normal_visual_select_operator_pending = '',
3 + N = '',
5 - normal = 'n',
6 - n = 'n',
5 + normal = 'n',
6 + n = 'n',
8 - insert = 'i',
9 - i = 'i',
8 + insert = 'i',
9 + i = 'i',
11 - visual = 'x',
12 - x = 'x',
11 + visual = 'x',
12 + x = 'x',
14 - visual_select = 'v',
15 - v = 'v',
14 + visual_select = 'v',
15 + v = 'v',
17 - select = 's',
18 - s = 's',
17 + select = 's',
18 + s = 's',
20 - operator_pending = 'o',
21 - o = 'o',
20 + operator_pending = 'o',
21 + o = 'o',
23 - ['!'] = '!',
24 - insert_command_line = '!',
23 + ['!'] = '!',
24 + insert_command_line = '!',
26 - command_line = 'c',
27 - c = 'c',
26 + command_line = 'c',
27 + c = 'c',
29 - terminal = 't',
30 - t = 't',
29 + terminal = 't',
30 + t = 't',
33 -local bind = function ( self, map )
34 - vim.validate {
35 - map = { map, 'table' },
36 - ['map.keys'] = { map.keys, { 'string', 'table' } },
37 - ['map.command'] = { map.command, { 'function', 'string' } },
38 - }
33 +local bind = function(self, map)
34 + vim.validate('map', map, 'table')
35 + vim.validate('map.keys', map.keys, { 'string', 'table' })
36 + vim.validate('map.command', map.command, { 'function', 'string' })
40 - local keys = map.keys
41 - local command = map.command
38 + local keys = map.keys
39 + local command = map.command
43 - map.options = map.options or {}
41 + map.options = map.options or {}
45 - if map.category and map.description then
46 - map.description = map.category .. ': ' .. map.description
47 - end
43 + if map.category and map.description then
44 + map.description = map.category .. ': ' .. map.description
45 + end
49 - local options = vim.tbl_extend( 'keep', map.options, {
50 - silent = true,
51 - desc = map.description,
52 - buffer = map.buffer,
53 - remap = map.remap,
54 - } )
47 + local options = vim.tbl_extend('keep', map.options, {
48 + silent = true,
49 + desc = map.description,
50 + buffer = map.buffer,
51 + remap = map.remap,
52 + })
56 - if vim.tbl_isempty( self.modes ) then
57 - self.modes[1] = available_modes.normal_visual_select_operator_pending
58 - end
54 + if vim.tbl_isempty(self.modes) then
55 + self.modes[1] = available_modes.normal_visual_select_operator_pending
56 + end
60 - -- vim.print('vim.keymap', self.modes, keys, command, options)
58 + -- vim.print('vim.keymap', self.modes, keys, command, options)
62 - if type( keys ) == 'table' then
63 - for _, key in ipairs( keys ) do
64 - vim.keymap.set( self.modes, key, command, options )
65 - end
66 - else
67 - vim.keymap.set( self.modes, keys, command, options )
68 - end
60 + if type(keys) == 'table' then
61 + for _, key in ipairs(keys) do
62 + vim.keymap.set(self.modes, key, command, options)
63 + end
64 + else
65 + vim.keymap.set(self.modes, keys, command, options)
66 + end
70 - self.modes = {}
68 + self.modes = {}
72 - return function ()
73 - local delete_options = options.buffer and { buffer = options.buffer } or {}
74 - if type( keys ) == 'table' then
75 - for _, key in ipairs( keys ) do
76 - vim.keymap.del( self.modes, key, delete_options )
77 - end
78 - else
79 - vim.keymap.del( self.modes, keys, delete_options )
80 - end
81 - end
70 + return function()
71 + local delete_options = options.buffer and { buffer = options.buffer } or {}
72 + if type(keys) == 'table' then
73 + for _, key in ipairs(keys) do
74 + vim.keymap.del(self.modes, key, delete_options)
75 + end
76 + else
77 + vim.keymap.del(self.modes, keys, delete_options)
78 + end
79 + end
84 -local add_mode = function ( self, key )
85 - local new_mode = available_modes[key]
86 - if new_mode == nil then
87 - error( 'unknown keymap mode requested: ' .. key )
88 - end
89 - if not self.modes[new_mode] then
90 - table.insert( self.modes, new_mode )
91 - end
92 - return self
82 +local add_mode = function(self, key)
83 + local new_mode = available_modes[key]
84 + if new_mode == nil then
85 + error('unknown keymap mode requested: ' .. key)
86 + end
87 + if not self.modes[new_mode] then
88 + table.insert(self.modes, new_mode)
89 + end
90 + return self
95 93 --- @overload fun(map:table): function
96 94 local map = setmetatable(
97 - {
98 - modes = {},
99 - },
100 - {
101 - __index = add_mode,
102 - __newindex = function ( ... ) error( 'Assigments are not supported for std.map.\n' .. vim.inspect(...), 2) end,
103 - __call = bind,
104 - }
95 + {
96 + modes = {},
97 + },
98 + {
99 + __index = add_mode,
100 + __newindex = function(...) error('Assigments are not supported for std.map.\n' .. vim.inspect(...), 2) end,
101 + __call = bind,
107 105 return map

neovim/lua/std/table/join.lua

Modified
2 2 --- Joins to tables into new table.
3 3 --- @param tableA table left table.
4 4 --- @param tableB table right table.
5 5 --- @return table table New table with left and right tables joined.
6 -return function( tableA, tableB )
7 - vim.validate{
8 - tableA = { tableA, 'table' },
9 - tableB = { tableB, 'table' },
10 - }
6 +return function(tableA, tableB)
7 + vim.validate('tableA', tableA, 'table')
8 + vim.validate('tableB', tableB, 'table')
12 10 local sizeA = #tableA
13 11 local sizeB = #tableB

neovim/lua/std/user_command.lua

Modified
25 25 --- meta table, that sets the function value, when called, to a field named `command`
26 26 local COMMAND_SETTER = {
27 27 __call = function ( self, command )
28 - vim.validate { command = { command, 'function', }, }
28 + vim.validate('command', command, 'function')
29 29 return set_command( self, command )
30 30 end,
34 34 --- or the function value to a field named `command`, when called.
35 35 local OPTIONS_OR_COMMAND_SETTER = {
36 36 __call = function ( self, options_or_command )
37 - vim.validate { options_or_command = { options_or_command, { 'table', 'function', }, }, }
37 + vim.validate('options_or_command', options_or_command, { 'table', 'function', })
38 38 if type( options_or_command ) == 'table' then
39 39 self.options = options_or_command
40 40 return setmetatable( self, COMMAND_SETTER )
46 46 --- meta table, that sets the string value to a field named `description`, when called.
47 47 local DESCRIPTION_SETTER = {
48 48 __call = function ( self, description )
49 - vim.validate { description = { description, 'string', }, }
49 + vim.validate('description', description, 'string')
50 50 self.description = description
51 51 return setmetatable( self, OPTIONS_OR_COMMAND_SETTER )
52 52 end,
55 55 --- meta table, that sets the string value to a field named `name`, when indexed into.
56 56 local COMMAND_NAME_SETTER = {
57 57 __index = function ( _, command_name )
58 - vim.validate { command_name = { command_name, 'string', }, }
58 + vim.validate('command_name', command_name, 'string')
59 59 local new_user_command = { name = command_name, }
60 60 return setmetatable( new_user_command, DESCRIPTION_SETTER )
61 61 end,

neovim/sgconfig.yml

Added
new file mode 100644
1 +ruleDirs:
2 +- /home/oli/Workspace/dotfiles/neovim/.refactor/rules
3 +testConfigs:
4 +- testDir: /home/oli/Workspace/dotfiles/neovim/.refactor/rule-tests
5 +utilDirs:
6 +- /home/oli/Workspace/dotfiles/neovim/.refactor/utils

neovim/test/a.d2

Added
new file mode 100644
1 +vars: {
2 + d2-config: {
3 + layout-engine: elk
4 + # Terminal theme code
5 + theme-id: 300
6 + }
7 +}
8 +network: {
9 + cell tower: {
10 + satellites: {
11 + shape: stored_data
12 + style.multiple: true
13 + }
15 + transmitter
17 + satellites -> transmitter: send
18 + satellites -> transmitter: send
19 + satellites -> transmitter: send
20 + }
22 + online portal: {
23 + ui: {shape: hexagon}
24 + }
26 + data processor: {
27 + storage: {
28 + shape: cylinder
29 + style.multiple: true
30 + }
31 + }
33 + cell tower.transmitter -> data processor.storage: phone logs
36 +user: {
37 + shape: person
38 + width: 130
41 +user -> network.cell tower: make call
42 +user -> network.online portal.ui: access {
43 + style.stroke-dash: 3
46 +api server -> network.online portal.ui: display
47 +api server -> logs: persist
48 +logs: {shape: page; style.multiple: true}
50 +network.data processor -> api server

neovim/test/a.svg

Added
new file mode 100644
1 +<?xml version="1.0" encoding="utf-8"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" data-d2-version="v0.7.0-HEAD" preserveAspectRatio="xMinYMin meet" viewBox="0 0 911 1902"><svg class="d2-2969716219 d2-svg" width="911" height="1902" viewBox="-89 -89 911 1902"><rect x="-89.000000" y="-89.000000" width="911.000000" height="1902.000000" rx="0.000000" fill="#FFFFFF" class=" fill-N7" stroke-width="0" /><style type="text/css"><![CDATA[
2 +.d2-2969716219 .text-mono {
3 + font-family: "d2-2969716219-font-mono";
4 +}
5 +@font-face {
6 + font-family: d2-2969716219-font-mono;
7 + src: url("data:application/font-woff;base64,d09GRgABAAAAAA5oAAoAAAAAGXAAAgm6AAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAAA9AAAAGAAAABgld/X+GNtYXAAAAFUAAAAbAAAAIgBlgIwZ2x5ZgAAAcAAAATPAAAF6JK784RoZWFkAAAGkAAAADYAAAA2GanOOmhoZWEAAAbIAAAAJAAAACQGMwCdaG10eAAABuwAAABTAAAAWDOQBd5sb2NhAAAHQAAAAC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ux53wfW6jDvlci7vMkp51+tygVXkknK/ap3RHafdh8GKPNxyZX7LlRU976zLrp3gskpnXc71uT6Xcxdcj65m3DDe9bqzLuMGgnGzB9XvC6rT6067c24gVHenXb/rc5ebvegGXM6dcf3ufdUYbDmz2/W4wcCzZi9uujf04KTrcj3upOt2/WGmmv24pR8n3WmXcb16Tr9GlQlUm525hV89VpFTGn+wZ8D1BBlp7bWNdQ764Y012pBvtdjQHW/Umd+sM95osfI/AAAA//8BAAD//5uVuAcAAwAAAAAAAP+1ADIAAAABAAAAAAAAAAAAAAAAAAAAAA==");
8 +}
9 +.d2-2969716219 .text-mono-bold {
10 + font-family: "d2-2969716219-font-mono-bold";
12 +@font-face {
13 + font-family: d2-2969716219-font-mono-bold;
14 + src: url("data:application/font-woff;base64,d09GRgABAAAAAAzgAAwAAAAAFpgAAQScAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABHAAAAGAAAABgmKbWhWNtYXAAAAF8AAAAbAAAAIgBlgIwZ2FzcAAAAegAAAAIAAAACAAAABBnbHlmAAAB8AAABNgAAAYE50aU0mhlYWQAAAbIAAAANgAAADYbI9ohaGhlYQAABwAAAAAkAAAAJAYzAKpobXR4AAAHJAAAAFIAAABYM5AEUGxvY2EAAAd4AAAALgAAAC4Q4g+UbWF4cAAAB6gAAAAgAAAAIABKAmpuYW1lAAAHyAAABO8AAA2sAwZtKnBvc3QAAAy4AAAAIAAAACD/uAAzcHJlcAAADNgAAAAHAAAAB2gGjIUABAJYArwABQAAAooCWAAAAEsCigJYAAABXgAyAR4AAAILAwkDBAMCAgQgAAL3AgA4AwAAAAAAAAAAQURCTwCgACD//wPY/u8AAAQkAcZgAAGfAAAAAAHeApQAAAAgAAN4nFTMOQ5BURhA4e+6z/xwTb2tiIiIRjRiL5ZmXIqV/EI0TvkVB0mWUKucURQZC0trW3tHp4ifrGzsHD4Sr3jGI+5xi2tcvo//koas0tTS1tHV01cbGBopxiamZua8AQAA//8BAAD//3p4FboAAQAB//8AD3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paUmFduOzNRnjqgomoSy++tuF+labctG05uX5Uw77eHf60BjUFN4T3FKo6zzUz/32jbcrp87sIUV66CGa802e/It0Orqv6lrhynwb3leGC8FGQ18TFWO9Rkuy+r8+FiT964svjJ74ciMpttnGDKY0fcI19yVbT6gzbwop4cDf2K/foiH4dUdev6DOJ4t9Nd8lwT++ZJlW52VrCeUnO4r6sgvm5y/whtkW9L9ui157Yz47IXZbXoibaGemtqtGnuSccezobwR1raNCVN7gtu8Epld7IHlrPcKSO9jCndQ2qOCevwrAmw9qOsnosX4eUGcsOqD3K70B+eVTl/fDZuCMnvyrTfJ2H+m6u9b+F6APh0hVeCvJG+fdY8AqHnr13+arEL7E3cubDGZ8fmfUon6e3HOz2KOvBHg+3HebgKPtRv1hG2ylz/wIAAP//AQAA///7vB6iAAADAAAAAAAA/7UAMgAAAAEAAAAAAAAAAAAAAAAAAAAAuAH/hbAEjQA=");
16 +.d2-2969716219 .text-mono-italic {
17 + font-family: "d2-2969716219-font-mono-italic";
19 +@font-face {
20 + font-family: d2-2969716219-font-mono-italic;
21 + src: url("data:application/font-woff;base64,d09GRgABAAAAAA0wAAwAAAAAFwwAAQQZAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABHAAAAGAAAABglO/WomNtYXAAAAF8AAAAbAAAAIgBlgIwZ2FzcAAAAegAAAAIAAAACAAAABBnbHlmAAAB8AAABWwAAAaUv8/saWhlYWQAAAdcAAAANgAAADYa8dmqaGhlYQAAB5QAAAAkAAAAJAbDBDFobXR4AAAHuAAAAFQAAABYM5EEVGxvY2EAAAgMAAAALgAAAC4SZBDobWF4cAAACDwAAAAgAAAAIABKAmxuYW1lAAAIXAAABKkAAA2O9UFlqnBvc3QAAA0IAAAAIAAAACD/rQAzcHJlcAAADSgAAAAHAAAAB2gGjIUABAJYAZAABQAAAooCWP/xAEsCigJYAEQBXgAyAR4AAAILAwkDBAMJAgQgAAB3AgA4AwAAAAAAAAAAQURCTwCBACD//wPY/u8AAAQkAcZgAA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RjL3xPMugZx2D8TmFh49Ghiu4WK4qVntxFVEW/vbk0m0vH1aI0xuxA4dfCpsqZ6DSS2LhhEPRNOB4rEXtk6omvREhbjvvmplSqxgWJP8raHMK0MZbCdPm7JF6XfAbLjuwP/7eAQ08NigITuDm+hJ3WU+EBxxCfOYOiFVcahDJB6FkssVD+ossMYNVh5j8myNavIbe79Bb3d64u7s1Nj7v0xZnC+bWQxXZF2iLIrcoUSFm6xxm4qsl1lnnWVWqVDiusSusS43eI1VrklESXC8d0NuwCofYXiPkpyxuX3VJ3bM3suOsA+FezzLAU06orll7kqvvnQ4usOGTc3ajw0lpkrAppw04l+LOj086joVHWHYFC37szG4dfFENKUX6+1gv05bXt6u3Fyb1bCjb4ed1phT/EJE/8FV90Azs/erlnzT1uUmesK8r7kvPQ6v65TlyxFgUu8Sil6hqGmV+Fy6tW/BXQrc03vdpi4vSUd6rMrs78gq9usu8/uc9fR96oo+23J+jntP1LavSkP+1hVnA+qa/TT3pM9IvYjfNEOLnnwDu7Ib3wpfIhb35fN4plB7yAuv6zzUL8GKcLCeDZD9JtflJbU83xfugfAoyxts76nto8aV3V97tso2d+TGxHkGVfrnnlbX7Pnd6k9Ccn/+GdxHzTaIfPbZvXUZtep+mo6aay9PRs3zpJejZ9DIfwEAAP//AQAA//8whhJUAAAAAAMAAP/1AAD/tQAyAAAAAQAAAAAAAAAAAAAAAAAAAAC4Af+FsASNAA==");
22 +}]]></style><style type="text/css"><![CDATA[.shape {
23 + shape-rendering: geometricPrecision;
24 + stroke-linejoin: round;
26 +.connection {
27 + stroke-linecap: round;
28 + stroke-linejoin: round;
30 +.blend {
31 + mix-blend-mode: multiply;
32 + opacity: 0.5;
35 + .d2-2969716219 .fill-N1{fill:#000410;}
36 + .d2-2969716219 .fill-N2{fill:#0000B8;}
37 + .d2-2969716219 .fill-N3{fill:#9499AB;}
38 + .d2-2969716219 .fill-N4{fill:#CFD2DD;}
39 + .d2-2969716219 .fill-N5{fill:#C3DEF3;}
40 + .d2-2969716219 .fill-N6{fill:#EEF1F8;}
41 + .d2-2969716219 .fill-N7{fill:#FFFFFF;}
42 + .d2-2969716219 .fill-B1{fill:#000410;}
43 + .d2-2969716219 .fill-B2{fill:#0000E4;}
44 + .d2-2969716219 .fill-B3{fill:#5AA4DC;}
45 + .d2-2969716219 .fill-B4{fill:#E7E9EE;}
46 + .d2-2969716219 .fill-B5{fill:#F5F6F9;}
47 + .d2-2969716219 .fill-B6{fill:#FFFFFF;}
48 + .d2-2969716219 .fill-AA2{fill:#008566;}
49 + .d2-2969716219 .fill-AA4{fill:#45BBA5;}
50 + .d2-2969716219 .fill-AA5{fill:#7ACCBD;}
51 + .d2-2969716219 .fill-AB4{fill:#F1C759;}
52 + .d2-2969716219 .fill-AB5{fill:#F9E088;}
53 + .d2-2969716219 .stroke-N1{stroke:#000410;}
54 + .d2-2969716219 .stroke-N2{stroke:#0000B8;}
55 + .d2-2969716219 .stroke-N3{stroke:#9499AB;}
56 + .d2-2969716219 .stroke-N4{stroke:#CFD2DD;}
57 + .d2-2969716219 .stroke-N5{stroke:#C3DEF3;}
58 + .d2-2969716219 .stroke-N6{stroke:#EEF1F8;}
59 + .d2-2969716219 .stroke-N7{stroke:#FFFFFF;}
60 + .d2-2969716219 .stroke-B1{stroke:#000410;}
61 + .d2-2969716219 .stroke-B2{stroke:#0000E4;}
62 + .d2-2969716219 .stroke-B3{stroke:#5AA4DC;}
63 + .d2-2969716219 .stroke-B4{stroke:#E7E9EE;}
64 + .d2-2969716219 .stroke-B5{stroke:#F5F6F9;}
65 + .d2-2969716219 .stroke-B6{stroke:#FFFFFF;}
66 + .d2-2969716219 .stroke-AA2{stroke:#008566;}
67 + .d2-2969716219 .stroke-AA4{stroke:#45BBA5;}
68 + .d2-2969716219 .stroke-AA5{stroke:#7ACCBD;}
69 + .d2-2969716219 .stroke-AB4{stroke:#F1C759;}
70 + .d2-2969716219 .stroke-AB5{stroke:#F9E088;}
71 + .d2-2969716219 .background-color-N1{background-color:#000410;}
72 + .d2-2969716219 .background-color-N2{background-color:#0000B8;}
73 + .d2-2969716219 .background-color-N3{background-color:#9499AB;}
74 + .d2-2969716219 .background-color-N4{background-color:#CFD2DD;}
75 + .d2-2969716219 .background-color-N5{background-color:#C3DEF3;}
76 + .d2-2969716219 .background-color-N6{background-color:#EEF1F8;}
77 + .d2-2969716219 .background-color-N7{background-color:#FFFFFF;}
78 + .d2-2969716219 .background-color-B1{background-color:#000410;}
79 + .d2-2969716219 .background-color-B2{background-color:#0000E4;}
80 + .d2-2969716219 .background-color-B3{background-color:#5AA4DC;}
81 + .d2-2969716219 .background-color-B4{background-color:#E7E9EE;}
82 + .d2-2969716219 .background-color-B5{background-color:#F5F6F9;}
83 + .d2-2969716219 .background-color-B6{background-color:#FFFFFF;}
84 + .d2-2969716219 .background-color-AA2{background-color:#008566;}
85 + .d2-2969716219 .background-color-AA4{background-color:#45BBA5;}
86 + .d2-2969716219 .background-color-AA5{background-color:#7ACCBD;}
87 + .d2-2969716219 .background-color-AB4{background-color:#F1C759;}
88 + .d2-2969716219 .background-color-AB5{background-color:#F9E088;}
89 + .d2-2969716219 .color-N1{color:#000410;}
90 + .d2-2969716219 .color-N2{color:#0000B8;}
91 + .d2-2969716219 .color-N3{color:#9499AB;}
92 + .d2-2969716219 .color-N4{color:#CFD2DD;}
93 + .d2-2969716219 .color-N5{color:#C3DEF3;}
94 + .d2-2969716219 .color-N6{color:#EEF1F8;}
95 + .d2-2969716219 .color-N7{color:#FFFFFF;}
96 + .d2-2969716219 .color-B1{color:#000410;}
97 + .d2-2969716219 .color-B2{color:#0000E4;}
98 + .d2-2969716219 .color-B3{color:#5AA4DC;}
99 + .d2-2969716219 .color-B4{color:#E7E9EE;}
100 + .d2-2969716219 .color-B5{color:#F5F6F9;}
101 + .d2-2969716219 .color-B6{color:#FFFFFF;}
102 + .d2-2969716219 .color-AA2{color:#008566;}
103 + .d2-2969716219 .color-AA4{color:#45BBA5;}
104 + .d2-2969716219 .color-AA5{color:#7ACCBD;}
105 + .d2-2969716219 .color-AB4{color:#F1C759;}
106 + .d2-2969716219 .color-AB5{color:#F9E088;}.appendix text.text{fill:#000410}.md{--color-fg-default:#000410;--color-fg-muted:#0000B8;--color-fg-subtle:#9499AB;--color-canvas-default:#FFFFFF;--color-canvas-subtle:#EEF1F8;--color-border-default:#000410;--color-border-muted:#0000E4;--color-neutral-muted:#EEF1F8;--color-accent-fg:#0000E4;--color-accent-emphasis:#0000E4;--color-attention-subtle:#0000B8;--color-danger-fg:red;}.sketch-overlay-B1{fill:url(#streaks-darker-d2-2969716219);mix-blend-mode:lighten}.sketch-overlay-B2{fill:url(#streaks-darker-d2-2969716219);mix-blend-mode:lighten}.sketch-overlay-B3{fill:url(#streaks-normal-d2-2969716219);mix-blend-mode:color-burn}.sketch-overlay-B4{fill:url(#streaks-bright-d2-2969716219);mix-blend-mode:darken}.sketch-overlay-B5{fill:url(#streaks-bright-d2-2969716219);mix-blend-mode:darken}.sketch-overlay-B6{fill:url(#streaks-bright-d2-2969716219);mix-blend-mode:darken}.sketch-overlay-AA2{fill:url(#streaks-dark-d2-2969716219);mix-blend-mode:overlay}.sketch-overlay-AA4{fill:url(#streaks-normal-d2-2969716219);mix-blend-mode:color-burn}.sketch-overlay-AA5{fill:url(#streaks-normal-d2-2969716219);mix-blend-mode:color-burn}.sketch-overlay-AB4{fill:url(#streaks-normal-d2-2969716219);mix-blend-mode:color-burn}.sketch-overlay-AB5{fill:url(#streaks-normal-d2-2969716219);mix-blend-mode:color-burn}.sketch-overlay-N1{fill:url(#streaks-darker-d2-2969716219);mix-blend-mode:lighten}.sketch-overlay-N2{fill:url(#streaks-darker-d2-2969716219);mix-blend-mode:lighten}.sketch-overlay-N3{fill:url(#streaks-normal-d2-2969716219);mix-blend-mode:color-burn}.sketch-overlay-N4{fill:url(#streaks-normal-d2-2969716219);mix-blend-mode:color-burn}.sketch-overlay-N5{fill:url(#streaks-normal-d2-2969716219);mix-blend-mode:color-burn}.sketch-overlay-N6{fill:url(#streaks-bright-d2-2969716219);mix-blend-mode:darken}.sketch-overlay-N7{fill:url(#streaks-bright-d2-2969716219);mix-blend-mode:darken}.light-code{display: block}.dark-code{display: none}]]></style><style type="text/css"><![CDATA[
107 +.dots-overlay {
108 + fill: url(#dots-d2-2969716219);
109 + mix-blend-mode: multiply;
110 +}]]></style><defs><pattern id="dots-d2-2969716219" x="0" y="0" width="15" height="15" patternUnits="userSpaceOnUse">
111 +<g style="mix-blend-mode:multiply" opacity="0.1">
112 +<rect x="2" y="2" width="1" height="1" fill="#0A0F25"/>
113 +</g>
114 +<g style="mix-blend-mode:multiply" opacity="0.1">
115 +<rect x="12" y="2" width="1" height="1" fill="#0A0F25"/>
116 +</g>
117 +<g style="mix-blend-mode:multiply" opacity="0.1">
118 +<rect x="12" y="12" width="1" height="1" fill="#0A0F25"/>
119 +</g>
120 +<g style="mix-blend-mode:multiply" opacity="0.1">
121 +<rect x="2" y="12" width="1" height="1" fill="#0A0F25"/>
122 +</g>
123 +<g style="mix-blend-mode:multiply" opacity="0.1">
124 +<rect x="2" y="7" width="1" height="1" fill="#0A0F25"/>
125 +</g>
126 +<g style="mix-blend-mode:multiply" opacity="0.1">
127 +<rect x="12" y="7" width="1" height="1" fill="#0A0F25"/>
128 +</g>
129 +<g style="mix-blend-mode:multiply" opacity="0.1">
130 +<rect x="7" y="2" width="1" height="1" fill="#0A0F25"/>
131 +</g>
132 +<g style="mix-blend-mode:multiply" opacity="0.1">
133 +<rect x="7" y="12" width="1" height="1" fill="#0A0F25"/>
134 +</g>
135 +<g style="mix-blend-mode:multiply" opacity="0.1">
136 +<rect x="7" y="7" width="1" height="1" fill="#0A0F25"/>
137 +</g>
138 +</pattern>
139 +</defs><g class="bmV0d29yaw=="><g class="shape" ><rect x="12.000000" y="311.000000" width="621.000000" height="922.000000" stroke="#000410" fill="#E7E9EE" class=" stroke-B1 fill-B4" style="stroke-width:2;" /><rect x="12.000000" y="311.000000" width="621.000000" height="922.000000" class="dots-overlay" style="stroke-width:2;" /><rect x="17.000000" y="316.000000" width="611.000000" height="912.000000" stroke="#000410" fill="transparent" class=" stroke-B1" style="stroke-width:2;" /></g><text x="322.500000" y="344.000000" fill="#000410" class="text-mono fill-N1" style="text-anchor:middle;font-size:28px">NETWORK</text></g><g class="dXNlcg=="><g class="shape" ><path d="M 348 99 H 218 V 98 C 218 83 232 70 255 63 C 242 58 235 50 235 40 C 235 25 256 12 283 12 C 309 12 331 25 331 40 C 331 49 324 58 311 63 C 333 69 348 83 348 98 V 99 H 348 Z" stroke="#000410" fill="#5AA4DC" class=" stroke-B1 fill-B3" style="stroke-width:2;" /></g><text x="283.000000" y="120.000000" fill="#000410" class="text-mono-bold fill-N1" style="text-anchor:middle;font-size:16px">USER</text></g><g class="YXBpIHNlcnZlcg=="><g class="shape" ><rect x="341.000000" y="1388.000000" width="142.000000" height="66.000000" stroke="#000410" fill="#FFFFFF" class=" stroke-B1 fill-B6" style="stroke-width:2;" /></g><text x="412.000000" y="1426.500000" fill="#000410" class="text-mono-bold fill-N1" style="text-anchor:middle;font-size:16px">API SERVER</text></g><g class="bG9ncw=="><g class="shape" ><path d="M 377 1615 H 437 C 438 1615 439 1615 440 1616 L 457 1632 C 458 1633 458 1634 458 1635 V 1702 C 458 1702 458 1702 458 1702 H 377 C 376 1702 376 1702 376 1702 V 1616 C 376 1615 376 1615 377 1615 Z" stroke="#000410" fill="#F1C759" class=" stroke-B1 fill-AB4" style="stroke-width:2;" /><path d="M 457 1702 H 377 C 376 1702 376 1702 376 1701 V 1616 C 376 1615 376 1615 377 1615 H 436 C 437 1615 437 1615 437 1616 V 1633 C 437 1634 438 1635 439 1635 H 457 C 458 1635 458 1635 458 1636 V 1701 C 457 1702 458 1702 457 1702 Z" stroke="#000410" fill="#F1C759" class=" stroke-B1 fill-AB4" style="stroke-width:2;" /><path d="M 367 1625 H 427 C 428 1625 429 1625 430 1626 L 447 1642 C 448 1643 448 1644 448 1645 V 1712 C 448 1712 448 1712 448 1712 H 367 C 366 1712 366 1712 366 1712 V 1626 C 366 1625 366 1625 367 1625 Z" stroke="#000410" fill="#F1C759" class=" stroke-B1 fill-AB4" style="stroke-width:2;" /><path d="M 447 1712 H 367 C 366 1712 366 1712 366 1711 V 1626 C 366 1625 366 1625 367 1625 H 426 C 427 1625 427 1625 427 1626 V 1643 C 427 1644 428 1645 429 1645 H 447 C 448 1645 448 1645 448 1646 V 1711 C 447 1712 448 1712 447 1712 Z" stroke="#000410" fill="#F1C759" class=" stroke-B1 fill-AB4" style="stroke-width:2;" /></g><text x="407.000000" y="1674.000000" fill="#000410" class="text-mono-bold fill-N1" style="text-anchor:middle;font-size:16px">LOGS</text></g><g class="bmV0d29yay5jZWxsIHRvd2Vy"><g class="shape" ><rect x="62.000000" y="361.000000" width="271.000000" height="423.000000" stroke="#000410" fill="#F5F6F9" class=" stroke-B1 fill-B5" style="stroke-width:2;" /><rect x="62.000000" y="361.000000" width="271.000000" height="423.000000" class="dots-overlay" style="stroke-width:2;" /></g><text x="197.500000" y="390.000000" fill="#000410" class="text-mono fill-N1" style="text-anchor:middle;font-size:24px">CELL TOWER</text></g><g class="bmV0d29yay5vbmxpbmUgcG9ydGFs"><g class="shape" ><rect x="353.000000" y="366.000000" width="230.000000" height="169.000000" stroke="#000410" fill="#F5F6F9" class=" stroke-B1 fill-B5" style="stroke-width:2;" /><rect x="353.000000" y="366.000000" width="230.000000" height="169.000000" class="dots-overlay" style="stroke-width:2;" /></g><text x="468.000000" y="395.000000" fill="#000410" class="text-mono fill-N1" style="text-anchor:middle;font-size:24px">ONLINE PORTAL</text></g><g class="bmV0d29yay5kYXRhIHByb2Nlc3Nvcg=="><g class="shape" ><rect x="75.000000" y="955.000000" width="245.000000" height="228.000000" stroke="#000410" fill="#F5F6F9" class=" stroke-B1 fill-B5" style="stroke-width:2;" /><rect x="75.000000" y="955.000000" width="245.000000" height="228.000000" class="dots-overlay" style="stroke-width:2;" /></g><text x="197.500000" y="984.000000" fill="#000410" class="text-mono fill-N1" style="text-anchor:middle;font-size:24px">DATA PROCESSOR</text></g><g class="bmV0d29yay5jZWxsIHRvd2VyLnNhdGVsbGl0ZXM="><g class="shape" ><path d="M 137 411 H 283 C 279 411 268 429 268 444 C 268 459 279 477 283 477 H 137 C 133 477 122 459 122 444 C 122 429 133 411 137 411 Z" stroke="#000410" fill="#7ACCBD" class=" stroke-B1 fill-AA5" style="stroke-width:2;" /><path d="M 127 421 H 273 C 269 421 258 439 258 454 C 258 469 269 487 273 487 H 127 C 123 487 112 469 112 454 C 112 439 123 421 127 421 Z" stroke="#000410" fill="#7ACCBD" class=" stroke-B1 fill-AA5" style="stroke-width:2;" /></g><text x="192.500000" y="459.500000" fill="#000410" class="text-mono-bold fill-N1" style="text-anchor:middle;font-size:16px">SATELLITES</text></g><g class="bmV0d29yay5jZWxsIHRvd2VyLnRyYW5zbWl0dGVy"><g class="shape" ><rect x="122.000000" y="668.000000" width="151.000000" height="66.000000" stroke="#000410" fill="#FFFFFF" class=" stroke-B1 fill-B6" style="stroke-width:2;" /></g><text x="197.500000" y="706.500000" fill="#000410" class="text-mono-bold fill-N1" style="text-anchor:middle;font-size:16px">TRANSMITTER</text></g><g class="bmV0d29yay5vbmxpbmUgcG9ydGFsLnVp"><g class="shape" ><path d="M 448 416 L 428 450 L 448 485 L 488 485 L 508 450 L 488 416 Z" stroke="#000410" fill="#C3DEF3" class=" stroke-B1 fill-N5" style="stroke-width:2;" /></g><text x="468.000000" y="456.000000" fill="#000410" class="text-mono-bold fill-N1" style="text-anchor:middle;font-size:16px">UI</text></g><g class="bmV0d29yay5kYXRhIHByb2Nlc3Nvci5zdG9yYWdl"><g class="shape" ><path d="M 146 1029 C 146 1005 196 1005 202 1005 C 208 1005 258 1005 258 1029 V 1099 C 258 1123 208 1123 202 1123 C 196 1123 146 1123 146 1099 V 1029 Z" stroke="#000410" fill="#7ACCBD" class=" stroke-B1 fill-AA5" style="stroke-width:2;" /><path d="M 146 1029 C 146 1053 196 1053 202 1053 C 208 1053 258 1053 258 1029" stroke="#000410" fill="#7ACCBD" class=" stroke-B1 fill-AA5" style="stroke-width:2;" /><path d="M 136 1039 C 136 1015 186 1015 192 1015 C 198 1015 248 1015 248 1039 V 1109 C 248 1133 198 1133 192 1133 C 186 1133 136 1133 136 1109 V 1039 Z" stroke="#000410" fill="#7ACCBD" class=" stroke-B1 fill-AA5" style="stroke-width:2;" /><path d="M 136 1039 C 136 1063 186 1063 192 1063 C 198 1063 248 1063 248 1039" stroke="#000410" fill="#7ACCBD" class=" stroke-B1 fill-AA5" style="stroke-width:2;" /></g><text x="192.000000" y="1091.500000" fill="#000410" class="text-mono-bold fill-N1" style="text-anchor:middle;font-size:16px">STORAGE</text></g><g class="bmV0d29yay5jZWxsIHRvd2VyLihzYXRlbGxpdGVzIC0mZ3Q7IHRyYW5zbWl0dGVyKVswXQ=="><marker id="mk-d2-2969716219-3488378134" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" fill="#000410" class="connection fill-B1" stroke-width="2" /> </marker><path d="M 148.005525 488.999992 L 148.488950 664.000015" stroke="#000410" fill="none" class="connection stroke-B1" style="stroke-width:2;" marker-end="url(#mk-d2-2969716219-3488378134)" mask="url(#d2-2969716219)" /><text x="148.000000" y="583.000000" fill="#0000B8" class="text-mono-italic fill-N2" style="text-anchor:middle;font-size:16px">SEND</text></g><g class="bmV0d29yay5jZWxsIHRvd2VyLihzYXRlbGxpdGVzIC0mZ3Q7IHRyYW5zbWl0dGVyKVsxXQ=="><path d="M 197.011050 488.999969 L 197.977901 664.000061" stroke="#000410" fill="none" class="connection stroke-B1" style="stroke-width:2;" marker-end="url(#mk-d2-2969716219-3488378134)" mask="url(#d2-2969716219)" /><text x="198.000000" y="583.000000" fill="#0000B8" class="text-mono-italic fill-N2" style="text-anchor:middle;font-size:16px">SEND</text></g><g class="bmV0d29yay5jZWxsIHRvd2VyLihzYXRlbGxpdGVzIC0mZ3Q7IHRyYW5zbWl0dGVyKVsyXQ=="><path d="M 246.005525 488.999992 L 246.488950 664.000015" stroke="#000410" fill="none" class="connection stroke-B1" style="stroke-width:2;" marker-end="url(#mk-d2-2969716219-3488378134)" mask="url(#d2-2969716219)" /><text x="246.000000" y="583.000000" fill="#0000B8" class="text-mono-italic fill-N2" style="text-anchor:middle;font-size:16px">SEND</text></g><g class="bmV0d29yay4oY2VsbCB0b3dlci50cmFuc21pdHRlciAtJmd0OyBkYXRhIHByb2Nlc3Nvci5zdG9yYWdlKVswXQ=="><path d="M 197.503690 735.999997 L 197.992620 1001.000007" stroke="#000410" fill="none" class="connection stroke-B1" style="stroke-width:2;" marker-end="url(#mk-d2-2969716219-3488378134)" mask="url(#d2-2969716219)" /><text x="198.000000" y="875.000000" fill="#0000B8" class="text-mono-italic fill-N2" style="text-anchor:middle;font-size:16px">PHONE LOGS</text></g><g class="KHVzZXIgLSZndDsgbmV0d29yay5jZWxsIHRvd2VyKVswXQ=="><path d="M 261.665985 127.000000 L 261.665985 165.000000 S 261.665985 165.000000 261.665985 165.000000 L 117.916000 165.000000 S 117.916000 165.000000 117.916000 165.000000 L 117.916000 357.000000" stroke="#000410" fill="none" class="connection stroke-B1" style="stroke-width:2;" marker-end="url(#mk-d2-2969716219-3488378134)" mask="url(#d2-2969716219)" /><text x="118.000000" y="177.000000" fill="#0000B8" class="text-mono-italic fill-N2" style="text-anchor:middle;font-size:16px">MAKE CALL</text></g><g class="KHVzZXIgLSZndDsgbmV0d29yay5vbmxpbmUgcG9ydGFsLnVpKVswXQ=="><marker id="mk-d2-2969716219-2177206569" markerWidth="10.000000" markerHeight="12.000000" refX="7.000000" refY="6.000000" viewBox="0.000000 0.000000 10.000000 12.000000" orient="auto" markerUnits="userSpaceOnUse"> <polygon points="0.000000,0.000000 10.000000,6.000000 0.000000,12.000000" fill="#0000E4" class="connection fill-B2" stroke-width="2" /> </marker><path d="M 305.000000 127.000000 L 305.000000 165.000000 S 305.000000 165.000000 305.000000 165.000000 L 448.750000 165.000000 S 448.750000 165.000000 448.750000 165.000000 L 448.996016 412.000002" stroke="#0000E4" fill="none" class="connection stroke-B2" style="stroke-width:2;stroke-dasharray:6.000000,5.919384;" marker-end="url(#mk-d2-2969716219-2177206569)" mask="url(#d2-2969716219)" /><text x="449.000000" y="204.000000" fill="#0000B8" class="text-mono-italic fill-N2" style="text-anchor:middle;font-size:16px">ACCESS</text></g><g class="KGFwaSBzZXJ2ZXIgLSZndDsgbmV0d29yay5vbmxpbmUgcG9ydGFsLnVpKVswXQ=="><path d="M 435.665985 1386.000000 L 435.665985 1348.000000 S 435.665985 1348.000000 435.665985 1348.000000 L 687.500000 1348.000000 S 687.500000 1348.000000 687.500000 1348.000000 L 687.500000 266.000000 S 687.500000 266.000000 687.500000 266.000000 L 481.333008 266.000000 S 481.333008 266.000000 481.333008 266.000000 L 481.008880 412.000010" stroke="#000410" fill="none" class="connection stroke-B1" style="stroke-width:2;" marker-end="url(#mk-d2-2969716219-3488378134)" mask="url(#d2-2969716219)" /><text x="687.500000" y="780.000000" fill="#0000B8" class="text-mono-italic fill-N2" style="text-anchor:middle;font-size:16px">DISPLAY</text></g><g class="KGFwaSBzZXJ2ZXIgLSZndDsgbG9ncylbMF0="><path d="M 412.000000 1456.000000 L 412.000000 1611.000000" stroke="#000410" fill="none" class="connection stroke-B1" style="stroke-width:2;" marker-end="url(#mk-d2-2969716219-3488378134)" mask="url(#d2-2969716219)" /><text x="412.000000" y="1540.000000" fill="#0000B8" class="text-mono-italic fill-N2" style="text-anchor:middle;font-size:16px">PERSIST</text></g><g class="KG5ldHdvcmsuZGF0YSBwcm9jZXNzb3IgLSZndDsgYXBpIHNlcnZlcilbMF0="><path d="M 136.500000 1185.000000 L 136.500000 1348.000000 S 136.500000 1348.000000 136.500000 1348.000000 L 388.333008 1348.000000 S 388.333008 1348.000000 388.333008 1348.000000 L 388.333008 1384.000000" stroke="#000410" fill="none" class="connection stroke-B1" style="stroke-width:2;" marker-end="url(#mk-d2-2969716219-3488378134)" mask="url(#d2-2969716219)" /></g><mask id="d2-2969716219" maskUnits="userSpaceOnUse" x="-89" y="-89" width="911" height="1902">
140 +<rect x="-89" y="-89" width="911" height="1902" fill="white"></rect>
141 +<rect x="262.500000" y="316.000000" width="120" height="36" fill="rgba(0,0,0,0.75)"></rect>
142 +<rect x="262.000000" y="104.000000" width="42" height="21" fill="rgba(0,0,0,0.75)"></rect>
143 +<rect x="361.500000" y="1410.500000" width="101" height="21" fill="rgba(0,0,0,0.75)"></rect>
144 +<rect x="386.500000" y="1658.000000" width="41" height="21" fill="rgba(0,0,0,0.75)"></rect>
145 +<rect x="124.000000" y="366.000000" width="147" height="31" fill="rgba(0,0,0,0.75)"></rect>
146 +<rect x="373.500000" y="371.000000" width="189" height="31" fill="rgba(0,0,0,0.75)"></rect>
147 +<rect x="95.500000" y="960.000000" width="204" height="31" fill="rgba(0,0,0,0.75)"></rect>
148 +<rect x="142.500000" y="443.500000" width="100" height="21" fill="rgba(0,0,0,0.75)"></rect>
149 +<rect x="142.500000" y="690.500000" width="110" height="21" fill="rgba(0,0,0,0.75)"></rect>
150 +<rect x="457.000000" y="440.000000" width="22" height="21" fill="rgba(0,0,0,0.75)"></rect>
151 +<rect x="156.500000" y="1075.500000" width="71" height="21" fill="rgba(0,0,0,0.75)"></rect>
152 +<rect x="127.000000" y="567.000000" width="42" height="21" fill="black"></rect>
153 +<rect x="177.000000" y="567.000000" width="42" height="21" fill="black"></rect>
154 +<rect x="225.000000" y="567.000000" width="42" height="21" fill="black"></rect>
155 +<rect x="148.000000" y="859.000000" width="100" height="21" fill="black"></rect>
156 +<rect x="73.000000" y="161.000000" width="90" height="21" fill="black"></rect>
157 +<rect x="418.000000" y="188.000000" width="62" height="21" fill="black"></rect>
158 +<rect x="651.000000" y="764.000000" width="73" height="21" fill="black"></rect>
159 +<rect x="376.000000" y="1524.000000" width="72" height="21" fill="black"></rect>
160 +</mask></svg></svg>