Skip to content

Commit

Permalink
feat: add option to disable ftplugin (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
obemu authored Dec 14, 2024
1 parent 818ad42 commit 85492be
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ftplugin/dart/init.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-- See section 'DISABLING' in :h ftplugin
if vim.b.flutter_tools_did_ftplugin then
return
end
vim.b.flutter_tools_did_ftplugin = 1

require("flutter-tools.lsp").attach()

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

0 comments on commit 85492be

Please sign in to comment.