diff --git a/init.lua b/init.lua index d89fac9a..833cd633 100644 --- a/init.lua +++ b/init.lua @@ -563,7 +563,9 @@ require('mason-lspconfig').setup() -- If you want to override the default filetypes that your language server will attach to you can -- define the property 'filetypes' to the map in question. local servers = { - -- rust_analyzer = {}, + rust_analyzer = { + filetypes = { "rust" } + }, lua_ls = { Lua = {