Skip to content

Commit

Permalink
Added option to disable ftplugin
Browse files Browse the repository at this point in the history
  • Loading branch information
obemu committed Dec 11, 2024
1 parent 818ad42 commit a3682d5
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 a3682d5

Please sign in to comment.