Skip to content

Commit 85492be

Browse files
authored
feat: add option to disable ftplugin (#417)
1 parent 818ad42 commit 85492be

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ftplugin/dart/init.lua

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
-- See section 'DISABLING' in :h ftplugin
2+
if vim.b.flutter_tools_did_ftplugin then
3+
return
4+
end
5+
vim.b.flutter_tools_did_ftplugin = 1
6+
17
require("flutter-tools.lsp").attach()
28

39
vim.opt_local.comments = [[sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,://]]

0 commit comments

Comments
 (0)