Skip to content

Commit

Permalink
fix(rust_analyzer): declare single file support (neovim#3028)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhjdvsgsgks authored Feb 25, 2024
1 parent 16029c2 commit ddfc22e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/lspconfig/server_configurations/rust_analyzer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ return {
default_config = {
cmd = { 'rust-analyzer' },
filetypes = { 'rust' },
single_file_support = true,
root_dir = function(fname)
local reuse_active = is_library(fname)
if reuse_active then
Expand Down

0 comments on commit ddfc22e

Please sign in to comment.