presence, lua
This commit is contained in:
parent
58bae2629b
commit
a10d69050a
3 changed files with 13 additions and 2 deletions
2
init.lua
2
init.lua
|
@ -43,7 +43,7 @@ return {
|
||||||
-- disable lua_ls formatting capability if you want to use StyLua to format your lua code
|
-- disable lua_ls formatting capability if you want to use StyLua to format your lua code
|
||||||
-- "lua_ls",
|
-- "lua_ls",
|
||||||
},
|
},
|
||||||
timeout_ms = 1000, -- default format timeout
|
timeout_ms = 100000, -- default format timeout
|
||||||
-- filter = function(client) -- fully override the default formatting function
|
-- filter = function(client) -- fully override the default formatting function
|
||||||
-- return true
|
-- return true
|
||||||
-- end
|
-- end
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
-- The setup config table shows all available config options with their default values:
|
-- The setup config table shows all available config options with their default values:
|
||||||
return {
|
return {
|
||||||
"andweeb/presence.nvim",
|
"andweeb/presence.nvim",
|
||||||
|
event = "VeryLazy",
|
||||||
config = function()
|
config = function()
|
||||||
require("presence").setup({
|
require("presence").setup({
|
||||||
-- General options
|
-- 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)
|
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
|
end
|
||||||
}
|
}
|
||||||
|
|
10
plugins/rust-tools.lua
Normal file
10
plugins/rust-tools.lua
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
return {
|
||||||
|
"simrat39/rust-tools.nvim",
|
||||||
|
opts = {
|
||||||
|
tools = {
|
||||||
|
inlay_hints = {
|
||||||
|
auto = false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in a new issue