Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
domluna committed Sep 19, 2024
1 parent 898225c commit 0a2323f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
9 changes: 3 additions & 6 deletions src/JuliaFormatter.jl
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
module JuliaFormatter

# if isdefined(Base, :Experimental) && isdefined(Base.Experimental, Symbol("@max_methods"))
# @eval Base.Experimental.@max_methods 1
# end

using JuliaSyntax
using JuliaSyntax: haschildren, children, span, @K_str, kind, @KSet_str
using TOML: parsefile
using Glob
import CommonMark: block_modifier
import Base: get, pairs
import Base: get, pairs, show
using CommonMark:
AdmonitionRule,
CodeBlock,
Expand All @@ -21,6 +17,7 @@ using CommonMark:
Rule,
TableRule,
FrontMatterRule
using PrecompileTools

export format,
format_text,
Expand Down Expand Up @@ -474,6 +471,6 @@ function isignored(path, options)
return any(x -> occursin(Glob.FilenameMatch("*$x"), path), ignore)
end

# include("other/precompile.jl")
include("other/precompile.jl")

end
2 changes: 0 additions & 2 deletions src/fst.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import Base: show

@enum(
FNode,

Expand Down
2 changes: 0 additions & 2 deletions src/other/precompile.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#! format: off
using PrecompileTools

@setup_workload begin
dir = joinpath(@__DIR__,"..", "..")
str = raw"""
Expand Down

0 comments on commit 0a2323f

Please sign in to comment.