feat: Updates to dotfiles

This commit is contained in:
uttarayan21
2024-06-28 02:26:15 +05:30
parent ba4c1f603c
commit fbc84b24b8
7 changed files with 159 additions and 171 deletions

View File

@@ -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
'';
};