diff --git a/init.lua b/init.lua index fb34405..27157cd 100644 --- a/init.lua +++ b/init.lua @@ -43,7 +43,7 @@ return { -- disable lua_ls formatting capability if you want to use StyLua to format your lua code -- "lua_ls", }, - timeout_ms = 1000, -- default format timeout + timeout_ms = 100000, -- default format timeout -- filter = function(client) -- fully override the default formatting function -- return true -- end diff --git a/plugins/presence_nvim.lua b/plugins/presence_nvim.lua index 9d8fa4b..2cf521e 100644 --- a/plugins/presence_nvim.lua +++ b/plugins/presence_nvim.lua @@ -1,6 +1,7 @@ -- The setup config table shows all available config options with their default values: return { "andweeb/presence.nvim", + event = "VeryLazy", config = function() require("presence").setup({ -- General options @@ -24,4 +25,4 @@ return { line_number_text = "Line %s out of %s", -- Format string rendered when `enable_line_number` is set to true (either string or function(line_number: number, line_count: number): string) }) end - } \ No newline at end of file + } diff --git a/plugins/rust-tools.lua b/plugins/rust-tools.lua new file mode 100644 index 0000000..df2cebd --- /dev/null +++ b/plugins/rust-tools.lua @@ -0,0 +1,10 @@ +return { + "simrat39/rust-tools.nvim", + opts = { + tools = { + inlay_hints = { + auto = false, + }, + }, + }, +}