all repos

dotfiles @ c36863d

i use rach linux btw
28 files changed, 613 insertions(+), 115 deletions(-)
Update lvim, zsh, vscode
Author: Smirnov-O ss2316544@gmail.com
Committed at: 2021-08-20 19:23:02 +0300
Parent: 4c57b36
M config/bspwm/polybar/polybar
···
                1
                
                -# vim: ft=dosini

              
                
                1
                +; # vim: ft=dosini

              
                2
                2
                 [settings]

              
                3
                3
                 enable-ipc = true

              
                4
                4
                 format-padding = 1

              
                5
                5
                 

              
                6
                6
                 [colors]

              
                7
                
                -background = #262A2B

              
                8
                
                -foreground = #cfd1dd

              
                9
                
                -secondary  = #008DCD

              
                10
                
                -alert      = #FF6C6B

              
                11
                
                -empty      = #383a42

              
                12
                
                -

              
                13
                
                -;[colors]    ; Light

              
                14
                
                -;background  = #f9f9f9

              
                15
                
                -;foreground  = #5b5b5f

              
                16
                
                -;secondary   = #0098dd

              
                17
                
                -;alert       = #df631c

              
                18
                
                -;empty       = #a0a1a7

              
                
                7
                +background = #202020

              
                
                8
                +foreground = #ABB2BF

              
                
                9
                +cyan       = #5f8ccd

              
                
                10
                +alert      = #D16969

              
                
                11
                +empty      = #262626

              
                19
                12
                 

              
                20
                13
                 [bar/bar]

              
                21
                14
                 width = 100%

              ···
                39
                32
                 fuzzy-match = true

              
                40
                33
                 enable-scroll = true

              
                41
                34
                 label-focused = 

              
                42
                
                -label-focused-foreground = ${colors.secondary}

              
                
                35
                +label-focused-foreground = ${colors.cyan}

              
                43
                36
                 label-focused-padding = 2

              
                44
                37
                 label-occupied = 

              
                45
                38
                 label-occupied-foreground = ${colors.foreground}

              
A config/lvim/.luacheckrc
···
                
                1
                +-- vim: ft=lua

              
                
                2
                +stds.nvim = {

              
                
                3
                +	globals = {

              
                
                4
                +		vim = { fields = { "g" } },

              
                
                5
                +		"lvim",

              
                
                6
                +		"O",

              
                
                7
                +	},

              
                
                8
                +	read_globals = {

              
                
                9
                +		-- vim = { fields = { "cmd", "api", "fn", "o" }}

              
                
                10
                +		"jit",

              
                
                11
                +		"os",

              
                
                12
                +		"vim",

              
                
                13
                +	},

              
                
                14
                +}

              
                
                15
                +std = "lua51+nvim"

              
                
                16
                +self = false

              
                
                17
                +cache = true

              
A config/lvim/.stylua.toml
···
                
                1
                +column_width = 120

              
                
                2
                +line_endings = "Unix"

              
                
                3
                +indent_type = "Spaces"

              
                
                4
                +indent_width = 2

              
                
                5
                +quote_style = "AutoPreferDouble"

              
                
                6
                +no_call_parentheses = true

              
A config/lvim/config.lua
···
                
                1
                +--- "lvim" configuration

              
                
                2
                +lvim.format_on_save = false

              
                
                3
                +lvim.lint_on_save = false

              
                
                4
                +lvim.colorscheme = "spacegray"

              
                
                5
                +

              
                
                6
                +lvim.builtin.dap.active = true

              
                
                7
                +lvim.builtin.dashboard.active = true

              
                
                8
                +lvim.builtin.terminal.active = true

              
                
                9
                +lvim.builtin.nvimtree.side = "right"

              
                
                10
                +lvim.builtin.nvimtree.show_icons.git = 0

              
                
                11
                +lvim.builtin.telescope = {

              
                
                12
                +  defaults = {

              
                
                13
                +    layout_config = { prompt_position = "top" },

              
                
                14
                +    file_ignore_patterns = { ".git", "node_modules", "env", "target" },

              
                
                15
                +  },

              
                
                16
                +}

              
                
                17
                +lvim.builtin.treesitter = {

              
                
                18
                +  ensure_installed = { "javascript", "typescript", "jsdoc", "python", "lua", "go" },

              
                
                19
                +  highlight = { enable = true },

              
                
                20
                +  intent = { disable = { "python" } },

              
                
                21
                +}

              
                
                22
                +

              
                
                23
                +--- Keymappings

              
                
                24
                +lvim.leader = "space"

              
                
                25
                +lvim.keys.normal_mode["<C-s>"] = "<cmd>write<cr>"

              
                
                26
                +lvim.keys.normal_mode["<C-w>"] = "<cmd>BufferClose<cr>"

              
                
                27
                +lvim.keys.normal_mode["<A-h>"] = "<cmd>vert res +2<cr>"

              
                
                28
                +lvim.keys.normal_mode["<A-j>"] = "<cmd>res -2<cr>"

              
                
                29
                +lvim.keys.normal_mode["<A-k>"] = "<cmd>res +2<cr>"

              
                
                30
                +lvim.keys.normal_mode["<A-l>"] = "<cmd>vert res -2<cr>"

              
                
                31
                +

              
                
                32
                +-- Beffer navigation

              
                
                33
                +for i = 1, 9 do

              
                
                34
                +  lvim.keys.normal_mode[string.format("<A-%d>", i)] = string.format("<cmd>BufferGoto %d<cr>", i)

              
                
                35
                +end

              
                
                36
                +

              
                
                37
                +lvim.builtin.which_key.mappings["z"] = { "<cmd>ZenMode<cr>", "Zen" }

              
                
                38
                +lvim.builtin.which_key.mappings["t"] = {

              
                
                39
                +  name = "Test",

              
                
                40
                +  t = { "<cmd>Ultest<cr>", "Run test" },

              
                
                41
                +  s = { "<cmd>UltestStop<cr>", "Stop test" },

              
                
                42
                +  c = { "<cmd>UltestClear<cr>", "Clear test result" },

              
                
                43
                +  n = { "<cmd>UltestNearest<cr>", "Run test order by cursor" },

              
                
                44
                +  o = { "<cmd>UltestOutput<cr>", "Show output order by cursor" },

              
                
                45
                +  j = { "<Plug>(ultest-next-fail)", "Next fail" },

              
                
                46
                +  k = { "<Plug>(ultest-prev-fail)", "Prev fail" },

              
                
                47
                +}

              
                
                48
                +lvim.builtin.which_key.mappings["r"] = {

              
                
                49
                +  name = "Replace",

              
                
                50
                +  r = { "<cmd>lua require('spectre').open()<cr>", "Replace" },

              
                
                51
                +  w = { "<cmd>lua require('spectre').open_visual({select_word=true})<cr>", "Replace Word" },

              
                
                52
                +  f = { "<cmd>lua require('spectre').open_file_search()<cr>", "Replace Buffer" },

              
                
                53
                +}

              
                
                54
                +

              
                
                55
                +--- Plugins

              
                
                56
                +lvim.plugins = {

              
                
                57
                +  { "tpope/vim-surround", keys = { "c", "d", "y" } },

              
                
                58
                +  { "folke/zen-mode.nvim", cmd = { "ZenMode" } },

              
                
                59
                +  {

              
                
                60
                +    "rcarriga/vim-ultest",

              
                
                61
                +    requires = { "vim-test/vim-test" },

              
                
                62
                +    cmd = { "Ultest", "UltestStop", "UltestClear", "UltestNearest", "UltestOutput" },

              
                
                63
                +    run = "<cmd>UpdateRemotePlugins",

              
                
                64
                +  },

              
                
                65
                +  {

              
                
                66
                +    "vim-test/vim-test",

              
                
                67
                +    cmd = { "TestFile", "TestLast", "TestSuite", "TestVisit", "TestMearest" },

              
                
                68
                +  },

              
                
                69
                +  {

              
                
                70
                +    "windwp/nvim-spectre",

              
                
                71
                +    event = "BufRead",

              
                
                72
                +    config = function()

              
                
                73
                +      require("user.spectre").setup()

              
                
                74
                +    end,

              
                
                75
                +  },

              
                
                76
                +  -- { "phaazon/hop.nvim", event = "BufRead", config = function() require("user.hop").setup() end },

              
                
                77
                +  {

              
                
                78
                +    "vuki656/package-info.nvim",

              
                
                79
                +    ft = "json",

              
                
                80
                +    config = function()

              
                
                81
                +      require("user.package-info").setup()

              
                
                82
                +    end,

              
                
                83
                +  },

              
                
                84
                +}

              
                
                85
                +

              
                
                86
                +--- LSP

              
                
                87
                +lvim.lang.javascript.lsp.setup.handlers = {

              
                
                88
                +  ["textDocument/publishDiagnostics"] = function(_, _, p, client_id, _, config)

              
                
                89
                +    if p.diagnostics ~= nil then

              
                
                90
                +      local i = 1

              
                
                91
                +      while i <= #p.diagnostics do

              
                
                92
                +        if p.diagnostics[i].code == 80001 then

              
                
                93
                +          table.remove(p.diagnostics, i)

              
                
                94
                +        else

              
                
                95
                +          i = i + 1

              
                
                96
                +        end

              
                
                97
                +      end

              
                
                98
                +    end

              
                
                99
                +    vim.lsp.diagnostic.on_publish_diagnostics(_, _, p, client_id, _, config)

              
                
                100
                +  end,

              
                
                101
                +}

              
A config/lvim/lsp-settings/jsonls.json
···
                
                1
                +{

              
                
                2
                +  "json.schemas": [

              
                
                3
                +    {"fileMatch": ["package.json"], "url": "https://json.schemastore.org/package.json"},

              
                
                4
                +    {"fileMatch": ["tsconfig.json","tsconfig.*.json"], "url": "http://json.schemastore.org/tsconfig"},

              
                
                5
                +    {"fileMatch": ["lerna.json"], "url": "http://json.schemastore.org/lerna"},

              
                
                6
                +    {"fileMatch": [".babelrc.json", ".babelrc", "babel.config.json"], "url": "http://json.schemastore.org/lerna"},

              
                
                7
                +    {"fileMatch": [".eslintrc.json", ".eslintrc"], "url": "http://json.schemastore.org/eslintrc"},

              
                
                8
                +    {"fileMatch": ["bsconfig.json"], "url": "https://bucklescript.github.io/bucklescript/docson/build-schema.json"},

              
                
                9
                +    {"fileMatch": [".prettierrc", ".prettierrc.json", "prettier.config.json"], "url": "http://json.schemastore.org/prettierrc"},

              
                
                10
                +    {"fileMatch": ["now.json"], "url": "http://json.schemastore.org/now"},

              
                
                11
                +    {"fileMatch": ["openapi.json", "swagger.json"], "url": "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json"},

              
                
                12
                +    {"fileMatch": ["nest-cli.json"], "url": "https://json.schemastore.org/nest-cli.json"},

              
                
                13
                +    {"fileMatch": ["nodemon.json"], "url": "https://json.schemastore.org/nodemon.json"}

              
                
                14
                +  ]

              
                
                15
                +}

              
A config/lvim/lsp-settings/yamlls.json
···
                
                1
                +{

              
                
                2
                +    "yaml.schemas": {

              
                
                3
                +        "https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json": [

              
                
                4
                +            "docker-compose.yml",

              
                
                5
                +            "docker-compose.yaml"

              
                
                6
                +        ],

              
                
                7
                +        "https://json.schemastore.org/ansible-playbook.json": [

              
                
                8
                +            "*/playbook/**/*.yml",

              
                
                9
                +            "*/playbooks/**/*.yml",

              
                
                10
                +            "*/playbook/**/*.yaml",

              
                
                11
                +            "*/playbooks/**/*.yaml"

              
                
                12
                +        ],

              
                
                13
                +        "https://json.schemastore.org/yamllint.json": [

              
                
                14
                +            ".yamllint",

              
                
                15
                +            ".yamllint.yml",

              
                
                16
                +            ".yamllint.yaml"

              
                
                17
                +        ],

              
                
                18
                +        "https://yarnpkg.com/configuration/yarnrc.json": [

              
                
                19
                +            ".yarnrc",

              
                
                20
                +            ".yarnrc.yml"

              
                
                21
                +        ],

              
                
                22
                +        "https://json.schemastore.org/github-action.json": [

              
                
                23
                +            "*/.github/workflows/**/*.yml",

              
                
                24
                +            "*/.github/workflows/**/*.yaml"

              
                
                25
                +        ],

              
                
                26
                +        "https://json.schemastore.org/gitlab-ci.json": [

              
                
                27
                +            ".gitlab-ci.yml"

              
                
                28
                +        ],

              
                
                29
                +        "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json": [

              
                
                30
                +            "openapi.yaml",

              
                
                31
                +            "openapi.yml",

              
                
                32
                +            "swagger.yml",

              
                
                33
                +            "swagger.yal"

              
                
                34
                +        ]

              
                
                35
                +    }

              
                
                36
                +}

              
A config/lvim/lua/user/conjure.lua
···
                
                1
                +local M = {}

              
                
                2
                +

              
                
                3
                +local g = vim.g

              
                
                4
                +

              
                
                5
                +M.setup = function()

              
                
                6
                +  vim.g.localleader = ","

              
                
                7
                +

              
                
                8
                +  g["conjure#filetype#fennel"] = "conjure.client.fennel.stdio"

              
                
                9
                +end

              
                
                10
                +

              
                
                11
                +return M

              
A config/lvim/lua/user/hop.lua
···
                
                1
                +local M = {}

              
                
                2
                +

              
                
                3
                +function M.map(mode, key, cmd)

              
                
                4
                +  vim.api.nvim_set_keymap(mode, key, cmd, { silent = true })

              
                
                5
                +end

              
                
                6
                +

              
                
                7
                +M.setup = function()

              
                
                8
                +  require("hop").setup()

              
                
                9
                +

              
                
                10
                +  M.map("n", "f", "<cmd>HopWord<cr>")

              
                
                11
                +  M.map("n", "F", "<cmd>HopLine<cr>")

              
                
                12
                +end

              
                
                13
                +

              
                
                14
                +return M

              
A config/lvim/lua/user/package-info.lua
···
                
                1
                +local M = {}

              
                
                2
                +

              
                
                3
                +M.setup = function()

              
                
                4
                +  require("package-info").setup {

              
                
                5
                +    {

              
                
                6
                +      autostart = true,

              
                
                7
                +      colors = {

              
                
                8
                +        up_to_date = "#3C4048",

              
                
                9
                +        outdated = "#6ec0fa",

              
                
                10
                +      },

              
                
                11
                +      icons = {

              
                
                12
                +        enable = true,

              
                
                13
                +        style = {

              
                
                14
                +          up_to_date = "|  ",

              
                
                15
                +          outdated = "|  ",

              
                
                16
                +        },

              
                
                17
                +      },

              
                
                18
                +    },

              
                
                19
                +  }

              
                
                20
                +end

              
                
                21
                +

              
                
                22
                +return M

              
A config/lvim/lua/user/spectre.lua
···
                
                1
                +local M = {}

              
                
                2
                +

              
                
                3
                +M.setup = function()

              
                
                4
                +  require("spectre").setup {

              
                
                5
                +    color_devicons = true,

              
                
                6
                +    highlights = { ui = "String", search = "DiffChange", replace = "DiffDelete" },

              
                
                7
                +    find_engine = {

              
                
                8
                +      ["rg"] = {

              
                
                9
                +        cmd = "rg",

              
                
                10
                +        args = { "--color=never", "--no-heading", "--with-filename", "--line-number", "--column" },

              
                
                11
                +        options = {

              
                
                12
                +          ["ignore-case"] = { value = "--ignore-case", icon = "[I]", desc = "ignore case" },

              
                
                13
                +          ["hidden"] = { value = "--hidden", desc = "hidden file", icon = "[H]" },

              
                
                14
                +        },

              
                
                15
                +      },

              
                
                16
                +    },

              
                
                17
                +  }

              
                
                18
                +end

              
                
                19
                +

              
                
                20
                +return M

              
D config/lvim/lv-config.lua
···
                1
                
                ---- "lvim" configuration

              
                2
                
                -lvim.format_on_save = false

              
                3
                
                -lvim.lint_on_save = true

              
                4
                
                -lvim.colorscheme = "spacegray"

              
                5
                
                -

              
                6
                
                -lvim.builtin.dashboard.active = true

              
                7
                
                -lvim.builtin.terminal.active = true

              
                8
                
                -lvim.builtin.nvimtree.side = "right"

              
                9
                
                -lvim.builtin.nvimtree.show_icons.git = 0

              
                10
                
                -lvim.builtin.nvimtree.auto_open = 0

              
                11
                
                -lvim.builtin.nvimtree.hide_dotfiles = 0

              
                12
                
                -lvim.builtin.telescope.defaults.layout_config.prompt_position = "top"

              
                13
                
                -lvim.builtin.treesitter.ensure_installed = { "javascript", "jsdoc", "lua", "python" }

              
                14
                
                -lvim.builtin.treesitter.highlight.enabled = true

              
                15
                
                -lvim.builtin.treesitter.indent.disable = { "python" }

              
                16
                
                -

              
                17
                
                ---- keymappings

              
                18
                
                -lvim.leader = "space"

              
                19
                
                -lvim.keys.normal_mode = {

              
                20
                
                -	{ "<C-s>", "<cmd>w<cr>" },

              
                21
                
                -	{ "<C-w>", "<cmd>BufferClose<cr>" },

              
                22
                
                -	-- Navigate split

              
                23
                
                -	{ "<C-h>", "<cmd>wincmd h<cr>" },

              
                24
                
                -	{ "<C-j>", "<cmd>wincmd j<cr>" },

              
                25
                
                -	{ "<C-k>", "<cmd>wincmd k<cr>" },

              
                26
                
                -	{ "<C-l>", "<cmd>wincmd l<cr>" },

              
                27
                
                -	-- Resize split

              
                28
                
                -	{ "<A-h>", "<cmd>vert res +2<cr>" },

              
                29
                
                -	{ "<A-j>", "<cmd>res -2<cr>" },

              
                30
                
                -	{ "<A-k>", "<cmd>res +2<cr>" },

              
                31
                
                -	{ "<A-l>", "<cmd>vert res -2<cr>" },

              
                32
                
                -	-- Resize

              
                33
                
                -	{ "<A-1>", "<cmd>BufferGoto 1<cr>" },

              
                34
                
                -	{ "<A-2>", "<cmd>BufferGoto 2<cr>" },

              
                35
                
                -	{ "<A-3>", "<cmd>BufferGoto 3<cr>" },

              
                36
                
                -	{ "<A-4>", "<cmd>BufferGoto 4<cr>" },

              
                37
                
                -	{ "<A-5>", "<cmd>BufferGoto 5<cr>" },

              
                38
                
                -	{ "<A-6>", "<cmd>BufferGoto 6<cr>" },

              
                39
                
                -	{ "<A-7>", "<cmd>BufferGoto 7<cr>" },

              
                40
                
                -	{ "<A-8>", "<cmd>BufferGoto 8<cr>" },

              
                41
                
                -	{ "<A-9>", "<cmd>BufferGoto 9<cr>" },

              
                42
                
                -}

              
                43
                
                -

              
                44
                
                ---- Plugins

              
                45
                
                -lvim.plugins = {

              
                46
                
                -}

              
                47
                
                -

              
                48
                
                ---- LSP

              
                49
                
                -lvim.lang.javascript.lsp.setup.handlers = {

              
                50
                
                -	["textDocument/publishDiagnostics"] = function(_, _, p, client_id, _, config)

              
                51
                
                -		if p.diagnostics ~= nil then

              
                52
                
                -			local i = 1

              
                53
                
                -			while i <= #p.diagnostics do

              
                54
                
                -				if p.diagnostics[i].code == 80001 then

              
                55
                
                -					table.remove(p.diagnostics, i)

              
                56
                
                -				else

              
                57
                
                -					i = i + 1

              
                58
                
                -				end

              
                59
                
                -			end

              
                60
                
                -		end

              
                61
                
                -		vim.lsp.diagnostic.on_publish_diagnostics(_, _, p, client_id, _, config)

              
                62
                
                -	end,

              
                63
                
                -}

              
A config/lvim/lvim/.luacheckrc
···
                
                1
                +/home/sasha/.dotfiles/config/lvim/.luacheckrc
              
A config/lvim/lvim/.stylua.toml
···
                
                1
                +/home/sasha/.dotfiles/config/lvim/.stylua.toml
              
A config/lvim/lvim/config.lua
···
                
                1
                +/home/sasha/.dotfiles/config/lvim/config.lua
              
A config/lvim/lvim/ftplugin/go.lua
···
                
                1
                +require("dap-install").config("go_dbg", {})

              
                
                2
                +

              
                
                3
                +lvim.lang.go.formatters = {

              
                
                4
                +  { exe = "gofmt" },

              
                
                5
                +}

              
A config/lvim/lvim/ftplugin/javascript.lua
···
                
                1
                +require("dap-install").config("jsnode_dbg", {})

              
                
                2
                +

              
                
                3
                +lvim.lang.javascript.formatters = {

              
                
                4
                +  { exe = "prettier" },

              
                
                5
                +  -- { exe = "eslint" }

              
                
                6
                +}

              
                
                7
                +lvim.lang.javascript.linters = {

              
                
                8
                +  { exe = "eslint" },

              
                
                9
                +}

              
A config/lvim/lvim/ftplugin/lua.lua
···
                
                1
                +lvim.lang.lua.formatters = { { exe = "stylua" } }

              
                
                2
                +lvim.lang.lua.linters = { { exe = "luacheck" } }

              
A config/lvim/lvim/ftplugin/python.lua
···
                
                1
                +require("dap-install").config("python_dbg", {})

              
                
                2
                +

              
                
                3
                +lvim.lang.python.formatters = {

              
                
                4
                +  { exe = "black" },

              
                
                5
                +  { exe = "isort" },

              
                
                6
                +}

              
                
                7
                +lvim.lang.python.linters = {

              
                
                8
                +  { exe = "flake8" },

              
                
                9
                +}

              
A config/lvim/lvim/ftplugin/typescript.lua
···
                
                1
                +lvim.lang.javascript.formatters = {

              
                
                2
                +  { exe = "prettier" },

              
                
                3
                +  -- { exe = "eslint" }

              
                
                4
                +}

              
                
                5
                +lvim.lang.javascript.linters = {

              
                
                6
                +  { exe = "eslint" },

              
                
                7
                +}

              
A config/lvim/lvim/lsp-settings/jsonls.json
···
                
                1
                +/home/sasha/.dotfiles/config/lvim/lsp-settings/jsonls.json
              
A config/lvim/lvim/lsp-settings/yamlls.json
···
                
                1
                +/home/sasha/.dotfiles/config/lvim/lsp-settings/yamlls.json
              
A config/lvim/lvim/lua/user/conjure.lua
···
                
                1
                +/home/sasha/.dotfiles/config/lvim/lua/user/conjure.lua
              
A config/lvim/lvim/lua/user/hop.lua
···
                
                1
                +/home/sasha/.dotfiles/config/lvim/lua/user/hop.lua
              
A config/lvim/lvim/lua/user/package-info.lua
···
                
                1
                +/home/sasha/.dotfiles/config/lvim/lua/user/package-info.lua
              
A config/lvim/lvim/lua/user/spectre.lua
···
                
                1
                +/home/sasha/.dotfiles/config/lvim/lua/user/spectre.lua
              
A config/lvim/lvim/plugin/packer_compiled.lua
···
                
                1
                +-- Automatically generated packer.nvim plugin loader code

              
                
                2
                +

              
                
                3
                +if vim.api.nvim_call_function('has', {'nvim-0.5'}) ~= 1 then

              
                
                4
                +  vim.api.nvim_command('echohl WarningMsg | echom "Invalid Neovim version for packer.nvim! | echohl None"')

              
                
                5
                +  return

              
                
                6
                +end

              
                
                7
                +

              
                
                8
                +vim.api.nvim_command('packadd packer.nvim')

              
                
                9
                +

              
                
                10
                +local no_errors, error_msg = pcall(function()

              
                
                11
                +

              
                
                12
                +  local time

              
                
                13
                +  local profile_info

              
                
                14
                +  local should_profile = false

              
                
                15
                +  if should_profile then

              
                
                16
                +    local hrtime = vim.loop.hrtime

              
                
                17
                +    profile_info = {}

              
                
                18
                +    time = function(chunk, start)

              
                
                19
                +      if start then

              
                
                20
                +        profile_info[chunk] = hrtime()

              
                
                21
                +      else

              
                
                22
                +        profile_info[chunk] = (hrtime() - profile_info[chunk]) / 1e6

              
                
                23
                +      end

              
                
                24
                +    end

              
                
                25
                +  else

              
                
                26
                +    time = function(chunk, start) end

              
                
                27
                +  end

              
                
                28
                +  

              
                
                29
                +local function save_profiles(threshold)

              
                
                30
                +  local sorted_times = {}

              
                
                31
                +  for chunk_name, time_taken in pairs(profile_info) do

              
                
                32
                +    sorted_times[#sorted_times + 1] = {chunk_name, time_taken}

              
                
                33
                +  end

              
                
                34
                +  table.sort(sorted_times, function(a, b) return a[2] > b[2] end)

              
                
                35
                +  local results = {}

              
                
                36
                +  for i, elem in ipairs(sorted_times) do

              
                
                37
                +    if not threshold or threshold and elem[2] > threshold then

              
                
                38
                +      results[i] = elem[1] .. ' took ' .. elem[2] .. 'ms'

              
                
                39
                +    end

              
                
                40
                +  end

              
                
                41
                +

              
                
                42
                +  _G._packer = _G._packer or {}

              
                
                43
                +  _G._packer.profile_output = results

              
                
                44
                +end

              
                
                45
                +

              
                
                46
                +time([[Luarocks path setup]], true)

              
                
                47
                +local package_path_str = "/home/sasha/.cache/nvim/packer_hererocks/2.0.5/share/lua/5.1/?.lua;/home/sasha/.cache/nvim/packer_hererocks/2.0.5/share/lua/5.1/?/init.lua;/home/sasha/.cache/nvim/packer_hererocks/2.0.5/lib/luarocks/rocks-5.1/?.lua;/home/sasha/.cache/nvim/packer_hererocks/2.0.5/lib/luarocks/rocks-5.1/?/init.lua"

              
                
                48
                +local install_cpath_pattern = "/home/sasha/.cache/nvim/packer_hererocks/2.0.5/lib/lua/5.1/?.so"

              
                
                49
                +if not string.find(package.path, package_path_str, 1, true) then

              
                
                50
                +  package.path = package.path .. ';' .. package_path_str

              
                
                51
                +end

              
                
                52
                +

              
                
                53
                +if not string.find(package.cpath, install_cpath_pattern, 1, true) then

              
                
                54
                +  package.cpath = package.cpath .. ';' .. install_cpath_pattern

              
                
                55
                +end

              
                
                56
                +

              
                
                57
                +time([[Luarocks path setup]], false)

              
                
                58
                +time([[try_loadstring definition]], true)

              
                
                59
                +local function try_loadstring(s, component, name)

              
                
                60
                +  local success, result = pcall(loadstring(s))

              
                
                61
                +  if not success then

              
                
                62
                +    vim.schedule(function()

              
                
                63
                +      vim.api.nvim_notify('packer.nvim: Error running ' .. component .. ' for ' .. name .. ': ' .. result, vim.log.levels.ERROR, {})

              
                
                64
                +    end)

              
                
                65
                +  end

              
                
                66
                +  return result

              
                
                67
                +end

              
                
                68
                +

              
                
                69
                +time([[try_loadstring definition]], false)

              
                
                70
                +time([[Defining packer_plugins]], true)

              
                
                71
                +_G.packer_plugins = {

              
                
                72
                +  ["DAPInstall.nvim"] = {

              
                
                73
                +    loaded = true,

              
                
                74
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/DAPInstall.nvim"

              
                
                75
                +  },

              
                
                76
                +  ["barbar.nvim"] = {

              
                
                77
                +    config = { "\27LJ\1\2\1\0\0\2\0\a\0\0174\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\54\0\3\0007\0\4\0007\0\5\0007\0\6\0>\0\1\1G\0\1\0\19on_config_done\15bufferline\fbuiltin\tlvim\nsetup\20core.bufferline\frequire\0" },

              
                
                78
                +    loaded = false,

              
                
                79
                +    needs_bufread = false,

              
                
                80
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/barbar.nvim"

              
                
                81
                +  },

              
                
                82
                +  ["dashboard-nvim"] = {

              
                
                83
                +    config = { "\27LJ\1\2\1\0\0\3\0\a\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\5\0>\1\2\0=\0\0\1G\0\1\0\19on_config_done\14dashboard\fbuiltin\tlvim\nsetup\19core.dashboard\frequire\0" },

              
                
                84
                +    loaded = false,

              
                
                85
                +    needs_bufread = false,

              
                
                86
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/dashboard-nvim"

              
                
                87
                +  },

              
                
                88
                +  ["friendly-snippets"] = {

              
                
                89
                +    loaded = false,

              
                
                90
                +    needs_bufread = false,

              
                
                91
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/friendly-snippets"

              
                
                92
                +  },

              
                
                93
                +  ["galaxyline.nvim"] = {

              
                
                94
                +    config = { "\27LJ\1\2\1\0\0\3\0\6\0\0184\0\0\0%\1\1\0>\0\2\0014\0\2\0007\0\3\0007\0\4\0007\0\5\0\15\0\0\0T\1\b4\0\2\0007\0\3\0007\0\4\0007\0\5\0004\1\0\0%\2\4\0>\1\2\0=\0\0\1G\0\1\0\19on_config_done\15galaxyline\fbuiltin\tlvim\20core.galaxyline\frequire\0" },

              
                
                95
                +    loaded = false,

              
                
                96
                +    needs_bufread = false,

              
                
                97
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/galaxyline.nvim"

              
                
                98
                +  },

              
                
                99
                +  ["gitsigns.nvim"] = {

              
                
                100
                +    config = { "\27LJ\1\2\1\0\0\3\0\a\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\5\0>\1\2\0=\0\0\1G\0\1\0\19on_config_done\rgitsigns\fbuiltin\tlvim\nsetup\18core.gitsigns\frequire\0" },

              
                
                101
                +    loaded = false,

              
                
                102
                +    needs_bufread = false,

              
                
                103
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/gitsigns.nvim"

              
                
                104
                +  },

              
                
                105
                +  ["nlsp-settings.nvim"] = {

              
                
                106
                +    loaded = true,

              
                
                107
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/nlsp-settings.nvim"

              
                
                108
                +  },

              
                
                109
                +  ["null-ls.nvim"] = {

              
                
                110
                +    loaded = true,

              
                
                111
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/null-ls.nvim"

              
                
                112
                +  },

              
                
                113
                +  ["nvim-autopairs"] = {

              
                
                114
                +    config = { "\27LJ\1\2\1\0\0\3\0\a\0\0184\0\0\0%\1\1\0>\0\2\0014\0\2\0007\0\3\0007\0\4\0007\0\5\0\15\0\0\0T\1\b4\0\2\0007\0\3\0007\0\4\0007\0\5\0004\1\0\0%\2\6\0>\1\2\0=\0\0\1G\0\1\0\19nvim-autopairs\19on_config_done\14autopairs\fbuiltin\tlvim\19core.autopairs\frequire\0" },

              
                
                115
                +    load_after = {

              
                
                116
                +      ["nvim-compe"] = true

              
                
                117
                +    },

              
                
                118
                +    loaded = false,

              
                
                119
                +    needs_bufread = false,

              
                
                120
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/nvim-autopairs"

              
                
                121
                +  },

              
                
                122
                +  ["nvim-comment"] = {

              
                
                123
                +    config = { "\27LJ\1\2\1\0\0\5\0\f\0\0314\0\0\0004\1\1\0%\2\2\0>\0\3\3\14\0\0\0T\2\n4\2\1\0%\3\3\0>\2\2\2\16\4\2\0007\3\4\2>\3\2\0027\3\5\3%\4\6\0>\3\2\1G\0\1\0007\2\a\1>\2\1\0014\2\b\0007\2\t\0027\2\n\0027\2\v\2\15\0\2\0T\3\64\2\b\0007\2\t\0027\2\n\0027\2\v\2\16\3\1\0>\2\2\1G\0\1\0\19on_config_done\fcomment\fbuiltin\tlvim\nsetup Failed to load nvim-comment\nerror\16get_default\rcore.log\17nvim_comment\frequire\npcall\0" },

              
                
                124
                +    loaded = false,

              
                
                125
                +    needs_bufread = false,

              
                
                126
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/nvim-comment"

              
                
                127
                +  },

              
                
                128
                +  ["nvim-compe"] = {

              
                
                129
                +    after = { "nvim-autopairs" },

              
                
                130
                +    after_files = { "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/nvim-compe/after/plugin/compe.vim" },

              
                
                131
                +    config = { "\27LJ\1\2\1\0\0\3\0\a\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\5\0>\1\2\0=\0\0\1G\0\1\0\19on_config_done\ncompe\fbuiltin\tlvim\nsetup\15core.compe\frequire\0" },

              
                
                132
                +    loaded = false,

              
                
                133
                +    needs_bufread = false,

              
                
                134
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/nvim-compe"

              
                
                135
                +  },

              
                
                136
                +  ["nvim-dap"] = {

              
                
                137
                +    config = { "\27LJ\1\2\1\0\0\3\0\a\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\5\0>\1\2\0=\0\0\1G\0\1\0\19on_config_done\bdap\fbuiltin\tlvim\nsetup\rcore.dap\frequire\0" },

              
                
                138
                +    loaded = true,

              
                
                139
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/nvim-dap"

              
                
                140
                +  },

              
                
                141
                +  ["nvim-lspconfig"] = {

              
                
                142
                +    loaded = true,

              
                
                143
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/nvim-lspconfig"

              
                
                144
                +  },

              
                
                145
                +  ["nvim-lspinstall"] = {

              
                
                146
                +    config = { "\27LJ\1\2\1\0\0\3\0\6\0\0184\0\0\0%\1\1\0>\0\2\0027\1\2\0>\1\1\0014\1\3\0007\1\4\0017\1\1\0017\1\5\1\15\0\1\0T\2\64\1\3\0007\1\4\0017\1\1\0017\1\5\1\16\2\0\0>\1\2\1G\0\1\0\19on_config_done\fbuiltin\tlvim\nsetup\15lspinstall\frequire\0" },

              
                
                147
                +    loaded = false,

              
                
                148
                +    needs_bufread = false,

              
                
                149
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/nvim-lspinstall"

              
                
                150
                +  },

              
                
                151
                +  ["nvim-spectre"] = {

              
                
                152
                +    config = { "\27LJ\1\2:\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\nsetup\17user.spectre\frequire\0" },

              
                
                153
                +    loaded = false,

              
                
                154
                +    needs_bufread = false,

              
                
                155
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/nvim-spectre"

              
                
                156
                +  },

              
                
                157
                +  ["nvim-toggleterm.lua"] = {

              
                
                158
                +    config = { "\27LJ\1\2\1\0\0\3\0\b\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\a\0>\1\2\0=\0\0\1G\0\1\0\15toggleterm\19on_config_done\rterminal\fbuiltin\tlvim\nsetup\18core.terminal\frequire\0" },

              
                
                159
                +    loaded = false,

              
                
                160
                +    needs_bufread = false,

              
                
                161
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/nvim-toggleterm.lua"

              
                
                162
                +  },

              
                
                163
                +  ["nvim-tree.lua"] = {

              
                
                164
                +    config = { "\27LJ\1\2\1\0\0\3\0\b\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\a\0>\1\2\0=\0\0\1G\0\1\0\21nvim-tree.config\19on_config_done\rnvimtree\fbuiltin\tlvim\nsetup\18core.nvimtree\frequire\0" },

              
                
                165
                +    loaded = true,

              
                
                166
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/nvim-tree.lua"

              
                
                167
                +  },

              
                
                168
                +  ["nvim-treesitter"] = {

              
                
                169
                +    config = { "\27LJ\1\2\1\0\0\3\0\b\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\a\0>\1\2\0=\0\0\1G\0\1\0\28nvim-treesitter.configs\19on_config_done\15treesitter\fbuiltin\tlvim\nsetup\20core.treesitter\frequire\0" },

              
                
                170
                +    loaded = true,

              
                
                171
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/nvim-treesitter"

              
                
                172
                +  },

              
                
                173
                +  ["nvim-web-devicons"] = {

              
                
                174
                +    loaded = true,

              
                
                175
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/nvim-web-devicons"

              
                
                176
                +  },

              
                
                177
                +  ["package-info.nvim"] = {

              
                
                178
                +    config = { "\27LJ\1\2?\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\nsetup\22user.package-info\frequire\0" },

              
                
                179
                +    loaded = false,

              
                
                180
                +    needs_bufread = false,

              
                
                181
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/package-info.nvim"

              
                
                182
                +  },

              
                
                183
                +  ["packer.nvim"] = {

              
                
                184
                +    loaded = true,

              
                
                185
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/packer.nvim"

              
                
                186
                +  },

              
                
                187
                +  ["plenary.nvim"] = {

              
                
                188
                +    loaded = true,

              
                
                189
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/plenary.nvim"

              
                
                190
                +  },

              
                
                191
                +  ["popup.nvim"] = {

              
                
                192
                +    loaded = true,

              
                
                193
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/popup.nvim"

              
                
                194
                +  },

              
                
                195
                +  ["telescope.nvim"] = {

              
                
                196
                +    config = { "\27LJ\1\2\1\0\0\3\0\a\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\5\0>\1\2\0=\0\0\1G\0\1\0\19on_config_done\14telescope\fbuiltin\tlvim\nsetup\19core.telescope\frequire\0" },

              
                
                197
                +    loaded = true,

              
                
                198
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/telescope.nvim"

              
                
                199
                +  },

              
                
                200
                +  ["vim-rooter"] = {

              
                
                201
                +    config = { "\27LJ\1\2\1\0\0\2\0\a\0\0174\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\54\0\3\0007\0\4\0007\0\5\0007\0\6\0>\0\1\1G\0\1\0\19on_config_done\vrooter\fbuiltin\tlvim\nsetup\16core.rooter\frequire\0" },

              
                
                202
                +    loaded = true,

              
                
                203
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/vim-rooter"

              
                
                204
                +  },

              
                
                205
                +  ["vim-surround"] = {

              
                
                206
                +    keys = { { "", "c" }, { "", "d" }, { "", "y" } },

              
                
                207
                +    loaded = false,

              
                
                208
                +    needs_bufread = false,

              
                
                209
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/vim-surround"

              
                
                210
                +  },

              
                
                211
                +  ["vim-test"] = {

              
                
                212
                +    commands = { "TestFile", "TestLast", "TestSuite", "TestVisit", "TestMearest" },

              
                
                213
                +    loaded = false,

              
                
                214
                +    needs_bufread = false,

              
                
                215
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/vim-test"

              
                
                216
                +  },

              
                
                217
                +  ["vim-ultest"] = {

              
                
                218
                +    commands = { "Ultest", "UltestStop", "UltestClear", "UltestNearest", "UltestOutput" },

              
                
                219
                +    loaded = false,

              
                
                220
                +    needs_bufread = false,

              
                
                221
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/vim-ultest"

              
                
                222
                +  },

              
                
                223
                +  ["vim-vsnip"] = {

              
                
                224
                +    loaded = false,

              
                
                225
                +    needs_bufread = false,

              
                
                226
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/vim-vsnip"

              
                
                227
                +  },

              
                
                228
                +  ["which-key.nvim"] = {

              
                
                229
                +    config = { "\27LJ\1\2\1\0\0\3\0\b\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\a\0>\1\2\0=\0\0\1G\0\1\0\14which-key\19on_config_done\14which_key\fbuiltin\tlvim\nsetup\19core.which-key\frequire\0" },

              
                
                230
                +    loaded = false,

              
                
                231
                +    needs_bufread = false,

              
                
                232
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/which-key.nvim"

              
                
                233
                +  },

              
                
                234
                +  ["zen-mode.nvim"] = {

              
                
                235
                +    commands = { "ZenMode" },

              
                
                236
                +    loaded = false,

              
                
                237
                +    needs_bufread = false,

              
                
                238
                +    path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/zen-mode.nvim"

              
                
                239
                +  }

              
                
                240
                +}

              
                
                241
                +

              
                
                242
                +time([[Defining packer_plugins]], false)

              
                
                243
                +-- Config for: nvim-treesitter

              
                
                244
                +time([[Config for nvim-treesitter]], true)

              
                
                245
                +try_loadstring("\27LJ\1\2\1\0\0\3\0\b\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\a\0>\1\2\0=\0\0\1G\0\1\0\28nvim-treesitter.configs\19on_config_done\15treesitter\fbuiltin\tlvim\nsetup\20core.treesitter\frequire\0", "config", "nvim-treesitter")

              
                
                246
                +time([[Config for nvim-treesitter]], false)

              
                
                247
                +-- Config for: nvim-dap

              
                
                248
                +time([[Config for nvim-dap]], true)

              
                
                249
                +try_loadstring("\27LJ\1\2\1\0\0\3\0\a\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\5\0>\1\2\0=\0\0\1G\0\1\0\19on_config_done\bdap\fbuiltin\tlvim\nsetup\rcore.dap\frequire\0", "config", "nvim-dap")

              
                
                250
                +time([[Config for nvim-dap]], false)

              
                
                251
                +-- Config for: nvim-tree.lua

              
                
                252
                +time([[Config for nvim-tree.lua]], true)

              
                
                253
                +try_loadstring("\27LJ\1\2\1\0\0\3\0\b\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\a\0>\1\2\0=\0\0\1G\0\1\0\21nvim-tree.config\19on_config_done\rnvimtree\fbuiltin\tlvim\nsetup\18core.nvimtree\frequire\0", "config", "nvim-tree.lua")

              
                
                254
                +time([[Config for nvim-tree.lua]], false)

              
                
                255
                +-- Config for: vim-rooter

              
                
                256
                +time([[Config for vim-rooter]], true)

              
                
                257
                +try_loadstring("\27LJ\1\2\1\0\0\2\0\a\0\0174\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\54\0\3\0007\0\4\0007\0\5\0007\0\6\0>\0\1\1G\0\1\0\19on_config_done\vrooter\fbuiltin\tlvim\nsetup\16core.rooter\frequire\0", "config", "vim-rooter")

              
                
                258
                +time([[Config for vim-rooter]], false)

              
                
                259
                +-- Config for: telescope.nvim

              
                
                260
                +time([[Config for telescope.nvim]], true)

              
                
                261
                +try_loadstring("\27LJ\1\2\1\0\0\3\0\a\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\5\0>\1\2\0=\0\0\1G\0\1\0\19on_config_done\14telescope\fbuiltin\tlvim\nsetup\19core.telescope\frequire\0", "config", "telescope.nvim")

              
                
                262
                +time([[Config for telescope.nvim]], false)

              
                
                263
                +

              
                
                264
                +-- Command lazy-loads

              
                
                265
                +time([[Defining lazy-load commands]], true)

              
                
                266
                +pcall(vim.cmd, [[command! -nargs=* -range -bang -complete=file UltestStop lua require("packer.load")({'vim-ultest'}, { cmd = "UltestStop", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]])

              
                
                267
                +pcall(vim.cmd, [[command! -nargs=* -range -bang -complete=file TestFile lua require("packer.load")({'vim-test'}, { cmd = "TestFile", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]])

              
                
                268
                +pcall(vim.cmd, [[command! -nargs=* -range -bang -complete=file TestSuite lua require("packer.load")({'vim-test'}, { cmd = "TestSuite", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]])

              
                
                269
                +pcall(vim.cmd, [[command! -nargs=* -range -bang -complete=file ZenMode lua require("packer.load")({'zen-mode.nvim'}, { cmd = "ZenMode", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]])

              
                
                270
                +pcall(vim.cmd, [[command! -nargs=* -range -bang -complete=file UltestOutput lua require("packer.load")({'vim-ultest'}, { cmd = "UltestOutput", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]])

              
                
                271
                +pcall(vim.cmd, [[command! -nargs=* -range -bang -complete=file TestLast lua require("packer.load")({'vim-test'}, { cmd = "TestLast", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]])

              
                
                272
                +pcall(vim.cmd, [[command! -nargs=* -range -bang -complete=file TestMearest lua require("packer.load")({'vim-test'}, { cmd = "TestMearest", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]])

              
                
                273
                +pcall(vim.cmd, [[command! -nargs=* -range -bang -complete=file UltestNearest lua require("packer.load")({'vim-ultest'}, { cmd = "UltestNearest", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]])

              
                
                274
                +pcall(vim.cmd, [[command! -nargs=* -range -bang -complete=file TestVisit lua require("packer.load")({'vim-test'}, { cmd = "TestVisit", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]])

              
                
                275
                +pcall(vim.cmd, [[command! -nargs=* -range -bang -complete=file Ultest lua require("packer.load")({'vim-ultest'}, { cmd = "Ultest", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]])

              
                
                276
                +pcall(vim.cmd, [[command! -nargs=* -range -bang -complete=file UltestClear lua require("packer.load")({'vim-ultest'}, { cmd = "UltestClear", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]])

              
                
                277
                +time([[Defining lazy-load commands]], false)

              
                
                278
                +

              
                
                279
                +-- Keymap lazy-loads

              
                
                280
                +time([[Defining lazy-load keymaps]], true)

              
                
                281
                +vim.cmd [[noremap <silent> c <cmd>lua require("packer.load")({'vim-surround'}, { keys = "c", prefix = "" }, _G.packer_plugins)<cr>]]

              
                
                282
                +vim.cmd [[noremap <silent> y <cmd>lua require("packer.load")({'vim-surround'}, { keys = "y", prefix = "" }, _G.packer_plugins)<cr>]]

              
                
                283
                +vim.cmd [[noremap <silent> d <cmd>lua require("packer.load")({'vim-surround'}, { keys = "d", prefix = "" }, _G.packer_plugins)<cr>]]

              
                
                284
                +time([[Defining lazy-load keymaps]], false)

              
                
                285
                +

              
                
                286
                +vim.cmd [[augroup packer_load_aucmds]]

              
                
                287
                +vim.cmd [[au!]]

              
                
                288
                +  -- Filetype lazy-loads

              
                
                289
                +time([[Defining lazy-load filetype autocommands]], true)

              
                
                290
                +vim.cmd [[au FileType json ++once lua require("packer.load")({'package-info.nvim'}, { ft = "json" }, _G.packer_plugins)]]

              
                
                291
                +time([[Defining lazy-load filetype autocommands]], false)

              
                
                292
                +  -- Event lazy-loads

              
                
                293
                +time([[Defining lazy-load event autocommands]], true)

              
                
                294
                +vim.cmd [[au BufRead * ++once lua require("packer.load")({'nvim-comment', 'gitsigns.nvim', 'nvim-spectre'}, { event = "BufRead *" }, _G.packer_plugins)]]

              
                
                295
                +vim.cmd [[au BufWinEnter * ++once lua require("packer.load")({'which-key.nvim', 'barbar.nvim', 'galaxyline.nvim', 'nvim-toggleterm.lua', 'dashboard-nvim'}, { event = "BufWinEnter *" }, _G.packer_plugins)]]

              
                
                296
                +vim.cmd [[au InsertCharPre * ++once lua require("packer.load")({'friendly-snippets'}, { event = "InsertCharPre *" }, _G.packer_plugins)]]

              
                
                297
                +vim.cmd [[au InsertEnter * ++once lua require("packer.load")({'nvim-compe', 'vim-vsnip'}, { event = "InsertEnter *" }, _G.packer_plugins)]]

              
                
                298
                +vim.cmd [[au VimEnter * ++once lua require("packer.load")({'nvim-lspinstall'}, { event = "VimEnter *" }, _G.packer_plugins)]]

              
                
                299
                +time([[Defining lazy-load event autocommands]], false)

              
                
                300
                +vim.cmd("augroup END")

              
                
                301
                +if should_profile then save_profiles() end

              
                
                302
                +

              
                
                303
                +end)

              
                
                304
                +

              
                
                305
                +if not no_errors then

              
                
                306
                +  vim.api.nvim_command('echohl ErrorMsg | echom "Error in packer_compiled: '..error_msg..'" | echom "Please check your config for correctness" | echohl None')

              
                
                307
                +end

              
M vscode/settings.json
···
                1
                1
                 {

              
                2
                
                -  "window.menuBarVisibility": "toggle",

              
                3
                2
                   "workbench.iconTheme": "material-icon-theme",

              
                4
                
                -  "workbench.colorTheme": "GitHub Dark",

              
                
                3
                +  "workbench.colorTheme": "GitHub Light",

              
                5
                4
                   "workbench.sideBar.location": "right",

              
                6
                5
                   "workbench.editor.untitled.hint": "hidden",

              
                7
                6
                   "workbench.startupEditor": "none",

              ···
                47
                46
                   "vim.incsearch": true,

              
                48
                47
                   "vim.leader": ";",

              
                49
                48
                   "vim.normalModeKeyBindings": [

              
                50
                
                -    {

              
                51
                
                -      "before": [

              
                52
                
                -        "<space>"

              
                53
                
                -      ],

              
                54
                
                -      "commands": [

              
                55
                
                -        ":nohl"

              
                56
                
                -      ]

              
                57
                
                -    },

              
                
                49
                +    {"before": ["<space>"], "commands": [":nohl"]},

              
                58
                50
                   ],

              
                59
                51
                   "vim.insertModeKeyBindings": [

              
                60
                
                -    {

              
                61
                
                -      "before": [

              
                62
                
                -        "j",

              
                63
                
                -        "k"

              
                64
                
                -      ],

              
                65
                
                -      "after": [

              
                66
                
                -        "<esc>"

              
                67
                
                -      ]

              
                68
                
                -    }

              
                
                52
                +    {"before": ["j", "k"], "after": ["<esc>"]}

              
                69
                53
                   ],

              
                70
                
                -  "vim.handleKeys": {

              
                71
                
                -    "<C-w>": false,

              
                72
                
                -    "<C-b>": false,

              
                73
                
                -    "<C-n>": false,

              
                74
                
                -    "<C-h>": false

              
                75
                
                -  },

              
                
                54
                +  "vim.handleKeys": { "<C-w>": false, "<C-b>": false, "<C-n>": false, "<C-h>": false},

              
                76
                55
                   // Expensions

              
                
                56
                +  "terminal.integrated.tabs.enabled": false,

              
                77
                57
                   "extensions.ignoreRecommendations": true,

              
                78
                58
                   "docker.showStartPage": false,

              
                79
                
                -  "prettier.semi": false,

              
                
                59
                +  // "prettier.semi": false,

              
                80
                60
                   // Languages

              
                81
                61
                   "javascript.suggestionActions.enabled": false,

              
                82
                62
                   "typescript.suggestionActions.enabled": false,

              ···
                84
                64
                     "editor.defaultFormatter": "esbenp.prettier-vscode",

              
                85
                65
                     "editor.tabSize": 2

              
                86
                66
                   },

              
                87
                
                -  "workbench.editorAssociations": {

              
                88
                
                -    "*.ipynb": "jupyter-notebook"

              
                
                67
                +  "[typescript]": {

              
                
                68
                +    "editor.defaultFormatter": "esbenp.prettier-vscode"

              
                89
                69
                   },

              
                90
                
                -  "notebook.cellToolbarLocation": {

              
                91
                
                -    "default": "right",

              
                92
                
                -    "jupyter-notebook": "left"

              
                93
                
                -  }

              
                
                70
                +  "window.menuBarVisibility": "toggle"

              
                
                71
                +

              
                94
                72
                 }
              
M zshrc
···
                3
                3
                 

              
                4
                4
                 ## Variables

              
                5
                5
                 export GOPATH="$HOME/go"

              
                6
                
                -export PATH="$HOME/bin:$HOME/.local/bin:$HOME/.golang/bin:$GOPATH/bin:$HOME/.yarn/bin:$PATH"

              
                
                6
                +export PATH="$HOME/bin:$HOME/.local/bin:$HOME/.golang/bin:$GOPATH/bin:$HOME/.yarn/bin:$HOME/.luarocks/bin:$PATH"

              
                7
                7
                 export EDITOR="nvim"

              
                8
                8
                 

              
                9
                9
                 ## FzF

              
                10
                
                -export FZF_DEFAULT_COMMAND="fd -t f -t l -E node_modules -E env -E __pycache__"

              
                
                10
                +export FZF_DEFAULT_COMMAND="fd -t f -t l -E node_modules -E env -E __pycache__ -E target"

              
                11
                11
                 

              
                12
                12
                 ## Oh my zsh

              
                13
                
                -plugins=(dotenv yarn pip)

              
                
                13
                +plugins=(git dotenv npm yarn extract)

              
                14
                14
                 ZSH_THEME="simple"

              
                15
                15
                 source "$HOME/.oh-my-zsh/oh-my-zsh.sh"

              
                16
                16
                 

              ···
                18
                18
                 eval $(fnm env)

              
                19
                19
                 

              
                20
                20
                 ## Aliases

              
                21
                
                -alias cls="clear" cp="cp -r" mkdir="mkdir -p"

              
                22
                
                -alias nvim="lvim" vim="nvim" vi="vim" e="$EDITOR" lv="lvim"

              
                
                21
                +alias cls="clear" cp="cp -r" mkdir="mkdir -p" open="open_command" lg="lazygit"

              
                
                22
                +alias nvim="lvim" vim="nvim" vi="vim" lv="lvim"

              
                23
                23
                 alias ...="cd ../.." .3="cd ../../.."

              
                24
                24
                 alias gor="go run" gob="go build" gog="go get" goi="go install"

              
                25
                25
                 

              
                26
                26
                 if [[ -f "/bin/exa" ]]; then

              
                27
                
                -    alias ls="exa -l" la="ls -a"

              
                
                27
                +   alias ls="exa -l" ll="ls" la="ls -a"

              
                28
                28
                 fi