style(nvim): format with stylua
This commit is contained in:
parent
c40352a364
commit
5c79abffeb
@ -28,7 +28,7 @@ cmp.setup({
|
||||
}
|
||||
|
||||
local extra_kind_icons = {
|
||||
TypeParameter = ""
|
||||
TypeParameter = "",
|
||||
}
|
||||
|
||||
local selection = selections[entry.source.name]
|
||||
|
@ -23,11 +23,10 @@ dap.adapters.coreclr = {
|
||||
args = { "--interpreter=vscode" },
|
||||
}
|
||||
|
||||
|
||||
dap.adapters.bashdb = {
|
||||
type = 'executable',
|
||||
command = vim.fn.stdpath("data") .. '/mason/packages/bash-debug-adapter/bash-debug-adapter',
|
||||
name = 'bashdb'
|
||||
type = "executable",
|
||||
command = vim.fn.stdpath("data") .. "/mason/packages/bash-debug-adapter/bash-debug-adapter",
|
||||
name = "bashdb",
|
||||
}
|
||||
|
||||
-- configurations
|
||||
@ -117,22 +116,22 @@ dap.configurations.fsharp = config
|
||||
|
||||
dap.configurations.sh = {
|
||||
{
|
||||
type = 'bashdb';
|
||||
request = 'launch';
|
||||
name = "Launch file";
|
||||
showDebugOutput = true;
|
||||
pathBashdb = vim.fn.stdpath("data") .. '/mason/packages/bash-debug-adapter/extension/bashdb_dir/bashdb';
|
||||
pathBashdbLib = vim.fn.stdpath("data") .. '/mason/packages/bash-debug-adapter/extension/bashdb_dir';
|
||||
trace = true;
|
||||
file = "${file}";
|
||||
program = "${file}";
|
||||
cwd = '${workspaceFolder}';
|
||||
pathCat = "cat";
|
||||
pathBash = "/bin/bash";
|
||||
pathMkfifo = "mkfifo";
|
||||
pathPkill = "pkill";
|
||||
args = {};
|
||||
env = {};
|
||||
terminalKind = "integrated";
|
||||
}
|
||||
type = "bashdb",
|
||||
request = "launch",
|
||||
name = "Launch file",
|
||||
showDebugOutput = true,
|
||||
pathBashdb = vim.fn.stdpath("data") .. "/mason/packages/bash-debug-adapter/extension/bashdb_dir/bashdb",
|
||||
pathBashdbLib = vim.fn.stdpath("data") .. "/mason/packages/bash-debug-adapter/extension/bashdb_dir",
|
||||
trace = true,
|
||||
file = "${file}",
|
||||
program = "${file}",
|
||||
cwd = "${workspaceFolder}",
|
||||
pathCat = "cat",
|
||||
pathBash = "/bin/bash",
|
||||
pathMkfifo = "mkfifo",
|
||||
pathPkill = "pkill",
|
||||
args = {},
|
||||
env = {},
|
||||
terminalKind = "integrated",
|
||||
},
|
||||
}
|
||||
|
@ -17,10 +17,10 @@ require("kanagawa").setup({
|
||||
theme = {
|
||||
all = {
|
||||
ui = {
|
||||
bg_gutter = 'NONE'
|
||||
}
|
||||
}
|
||||
}
|
||||
bg_gutter = "NONE",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
overrides = function(palette)
|
||||
local colors = palette.palette
|
||||
@ -127,7 +127,7 @@ require("kanagawa").setup({
|
||||
FloatTitle = { bg = "NONE" },
|
||||
DiffviewFilePanelTitle = { fg = colors.crystalBlue },
|
||||
Headline = { bg = colors.sumiInk2 },
|
||||
HeadlineReversed = { bg = colors.sumiInk1 }
|
||||
HeadlineReversed = { bg = colors.sumiInk1 },
|
||||
}
|
||||
|
||||
return overrides
|
||||
|
@ -1,9 +1,7 @@
|
||||
local nvim_treesitter = require("nvim-treesitter.configs")
|
||||
|
||||
nvim_treesitter.setup({
|
||||
ensure_installed = {
|
||||
"norg",
|
||||
},
|
||||
ensure_installed = { "norg" },
|
||||
highlight = {
|
||||
enable = true,
|
||||
disable = function(_, buf)
|
||||
@ -14,23 +12,20 @@ nvim_treesitter.setup({
|
||||
end
|
||||
end,
|
||||
},
|
||||
matchup = {
|
||||
enable = true,
|
||||
},
|
||||
autotag = {
|
||||
enable = true,
|
||||
},
|
||||
matchup = { enable = true },
|
||||
autotag = { enable = true },
|
||||
indent = { enable = true },
|
||||
rainbow = {
|
||||
enable = true,
|
||||
query = "rainbow-parens",
|
||||
strategy = {
|
||||
on_attach = function()
|
||||
if vim.fn.line('$') < 1000 then
|
||||
if vim.fn.line("$") < 1000 then
|
||||
require("ts-rainbow.strategy.local")
|
||||
elseif vim.fn.line('$') < 10000 then
|
||||
elseif vim.fn.line("$") < 10000 then
|
||||
require("ts-rainbow.strategy.global")
|
||||
end
|
||||
end
|
||||
end,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
@ -608,7 +608,7 @@ lazy.setup({
|
||||
event = "VeryLazy",
|
||||
config = function()
|
||||
vim.cmd.VMTheme("codedark")
|
||||
end
|
||||
end,
|
||||
},
|
||||
|
||||
-- Maintain last cursor position in files
|
||||
@ -847,7 +847,7 @@ lazy.setup({
|
||||
{
|
||||
"lukas-reineke/headlines.nvim",
|
||||
dependencies = "nvim-treesitter/nvim-treesitter",
|
||||
config = true
|
||||
config = true,
|
||||
},
|
||||
}, {
|
||||
checker = {
|
||||
|
Loading…
Reference in New Issue
Block a user