We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e15c262 commit f571a59Copy full SHA for f571a59
ftplugin/rust.lua
@@ -1,3 +1,8 @@
1
+if vim.fn.has('nvim-0.10') ~= 1 then
2
+ vim.notify_once('rustaceanvim requires Neovim 0.10 or above', vim.log.levels.ERROR)
3
+ return
4
+end
5
+
6
---@type rustaceanvim.Config
7
local config = require('rustaceanvim.config.internal')
8
local compat = require('rustaceanvim.compat')
ftplugin/toml.lua
local fname = vim.fn.fnamemodify(vim.api.nvim_buf_get_name(0), ':t')
if fname ~= 'Cargo.toml' then
return
0 commit comments