Skip to content

Commit

Permalink
perf(ftplugin): improve lazy loading capability
Browse files Browse the repository at this point in the history
  • Loading branch information
Iron-E committed May 3, 2023
1 parent 093c367 commit 1763033
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ftplugin/rust/highlite.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
local Treesitter = require 'highlite.treesitter' --- @type highlite.Treesitter

if vim.api.nvim_get_var('colors_name'):find '^highlite' then
Treesitter.add_directive.offset_from_start()
require('highlite.treesitter').add_directive.offset_from_start()
end

0 comments on commit 1763033

Please sign in to comment.