Skip to content

Commit b90d29f

Browse files
push
1 parent b0b5b13 commit b90d29f

File tree

10 files changed

+22
-22
lines changed

10 files changed

+22
-22
lines changed

lua/core/autocommands.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ local function TermWrapper(command)
244244
else
245245
error(
246246
'ERROR! g:split_term_style is not a valid value (must be "horizontal" or "vertical" but is currently set to "'
247-
.. vim.g.split_term_style
248-
.. '")'
247+
.. vim.g.split_term_style
248+
.. '")'
249249
)
250250
end
251251

lua/modules/completion/cmp.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,11 @@ cmp.setup({
151151
},
152152
sources = cmp.config.sources({
153153
-- { name = "copilot", group_index = 2 },
154-
{ name = "nvim_lsp", priority = "9" },
154+
{ name = "nvim_lsp", priority = "9" },
155155
{ name = "nvim_lsp_signature_help", priority = "7" },
156-
{ name = "luasnip", priority = "8" },
157-
{ name = "buffer", keyword_length = 5 },
158-
{ name = "npm", keyword_length = 2 },
156+
{ name = "luasnip", priority = "8" },
157+
{ name = "buffer", keyword_length = 5 },
158+
{ name = "npm", keyword_length = 2 },
159159
{ name = "neorg" },
160160
{ name = "path" },
161161
{ name = "git" },

lua/modules/completion/plugins.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ completion({
1212
lazy = true,
1313
},
1414
{ "hrsh7th/cmp-nvim-lsp", lazy = true },
15-
{ "hrsh7th/cmp-buffer", lazy = true },
16-
{ "hrsh7th/cmp-path", lazy = true },
15+
{ "hrsh7th/cmp-buffer", lazy = true },
16+
{ "hrsh7th/cmp-path", lazy = true },
1717
{
1818
"petertriho/cmp-git",
1919
lazy = true,

lua/modules/lsp/config.lua

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ function config.signature()
9191
hi_parameter = "Search",
9292
max_height = 22,
9393

94-
transparency = 1, -- disabled by default, allow floating win transparent value 1~100
95-
max_width = 120, -- max_width of signature floating_window, line will be wrapped if exceed max_width
94+
transparency = 1, -- disabled by default, allow floating win transparent value 1~100
95+
max_width = 120, -- max_width of signature floating_window, line will be wrapped if exceed max_width
9696
handler_opts = {
97-
border = border, -- double, single, shadow, none
97+
border = border, -- double, single, shadow, none
9898
},
99-
zindex = 50, -- by default it will be on top of all floating windows, set to 50 send it to bottom
100-
padding = "", -- character to pad on left and right of signature can be ' ', or '|' etc
99+
zindex = 50, -- by default it will be on top of all floating windows, set to 50 send it to bottom
100+
padding = "", -- character to pad on left and right of signature can be ' ', or '|' etc
101101
always_trigger = true,
102102
floating_window_above_cur_line = false, -- try to place the floating above the current line when possible Note:
103103
}
@@ -242,9 +242,9 @@ function config.rust_crates()
242242
name = "Crates",
243243
},
244244
crates = {
245-
enabled = true, -- disabled by default
245+
enabled = true, -- disabled by default
246246
max_results = 8, -- The maximum number of search results to display
247-
min_chars = 3, -- The minimum number of charaters to type before completions begin appearing
247+
min_chars = 3, -- The minimum number of charaters to type before completions begin appearing
248248
},
249249
},
250250
null_ls = {

lua/modules/lsp/conform.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require("conform").setup({
1111
end, ]]
1212
python = { "isort", "black", "docformatter" },
1313
rust = { "rustfmt", lsp_format = "fallback" },
14-
cpp = { "clang-format" }
14+
cpp = { "clang-format" },
1515
},
1616

1717
format_on_save = {

lua/modules/lsp/plugins.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,5 @@ lsp({
128128
event = { "BufWritePre" },
129129
config = function()
130130
require("modules.lsp.conform")
131-
end
131+
end,
132132
})

lua/modules/lsp/settings/lsp_config.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ local config = {
134134
[vim.diagnostic.severity.ERROR] = "",
135135
[vim.diagnostic.severity.WARN] = "",
136136
[vim.diagnostic.severity.HINT] = "",
137-
[vim.diagnostic.severity.INFO] = ""
137+
[vim.diagnostic.severity.INFO] = "",
138138
},
139139
},
140140
float = {

lua/modules/lsp/settings/main.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ local jedi = {
9999
}
100100

101101
-- require("lspconfig").jedi_language_server.setup(jedi)
102-
require 'lspconfig'.pyright.setup(pyright)
102+
require("lspconfig").pyright.setup(pyright)
103103
-- local use_pyright = true
104104
-- if use_pyright then
105105
-- require("lspconfig").pyright.setup(pyright)

lua/modules/treesitter/plugins.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ ts({
4242
-- after = "nvim-treesitter",
4343
ft = { "rust", "python" },
4444
opts = {
45-
enable = true, -- Enable this plugin (Can be enabled/disabled later via commands)
45+
enable = true, -- Enable this plugin (Can be enabled/disabled later via commands)
4646
throttle = true, -- Throttles plugin updates (may improve performance)
47-
max_lines = 50, -- How many lines the window should span. Values <= 0 mean no limit.
47+
max_lines = 50, -- How many lines the window should span. Values <= 0 mean no limit.
4848
},
4949
})
5050

lua/modules/ui/neo-tree.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ tree.setup({
2424
"Vista",
2525
"edgy",
2626
},
27-
close_if_last_window = true, -- Close Neo-tree if it is the last window left in the tab
27+
close_if_last_window = true, -- Close Neo-tree if it is the last window left in the tab
2828
popup_border_style = "solid", -- "double", "none", "rounded", "shadow", "single" or "solid
2929
enable_git_status = true,
3030
enable_diagnostics = true,

0 commit comments

Comments
 (0)