feat: Updates to dotfiles
This commit is contained in:
@@ -187,27 +187,27 @@ in rec {
|
||||
end
|
||||
end
|
||||
'';
|
||||
settings =
|
||||
/*
|
||||
lua
|
||||
*/
|
||||
''
|
||||
function(project_root)
|
||||
local ra = require('rustaceanvim.config.server')
|
||||
return ra.load_rust_analyzer_settings(project_root, {
|
||||
settings_file_pattern = 'rust-analyzer.json'
|
||||
})
|
||||
end
|
||||
'';
|
||||
cmd =
|
||||
/*
|
||||
lua
|
||||
*/
|
||||
''
|
||||
function()
|
||||
return { '${pkgs.ra-multiplex}/bin/ra-multiplex', 'client' }
|
||||
end
|
||||
'';
|
||||
# settings =
|
||||
# /*
|
||||
# lua
|
||||
# */
|
||||
# ''
|
||||
# function(project_root)
|
||||
# local ra = require('rustaceanvim.config.server')
|
||||
# return ra.load_rust_analyzer_settings(project_root, {
|
||||
# settings_file_pattern = 'rust-analyzer.json'
|
||||
# })
|
||||
# end
|
||||
# '';
|
||||
#cmd =
|
||||
# /*
|
||||
# lua
|
||||
# */
|
||||
# ''
|
||||
# function()
|
||||
# return { '${pkgs.ra-multiplex}/bin/ra-multiplex', 'client' }
|
||||
# end
|
||||
# '';
|
||||
};
|
||||
dap = {
|
||||
autoload_configurations = false;
|
||||
@@ -246,7 +246,7 @@ in rec {
|
||||
*/
|
||||
''
|
||||
if client.server_capabilities.inlayHintProvider then
|
||||
vim.lsp.inlay_hint.enable(bufnr, true)
|
||||
vim.lsp.inlay_hint.enable(true)
|
||||
end
|
||||
'';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user