# Rust Analyzer Project Local Settings (Fleeting) ## Metadata **Status**:: #x **Zettel**:: #zettel/fleeting **Created**:: [[2023-12-21]] **Topic**:: [[♯ Rust]] **Parent**:: [[LazyVim]] ## Synopsis [folke/neoconf.nvim: 💼 Neovim plugin to manage global and project-local settings (github.com)](https://github.com/folke/neoconf.nvim) .neoconf.json ```json { "lspconfig": { "lua_ls": { "Lua.completion.callSnippet": "Replace", }, } } ``` [neovim lsp rust-analyzer, some projects require special targets+features and others dont.. how to handle projects? : rust (reddit.com)](https://www.reddit.com/r/rust/comments/1211eai/neovim_lsp_rustanalyzer_some_projects_require/) ```lua config.rust_analyzer.setup({ on_attach = on_attach, settings = { ["rust-analyzer"] = { procMacro = { enable = true, attributes = { enable = true } }, check = { targets = { "thumbv7em-none-eabihf" }, features = { "microbit-v2" } }, cargo = { targets = { "thumbv7em-none-eabihf" }, features = { "microbit-v2" } }, }, }, }) ```