# Path: src/cfml_plugins.py
# def _plugin_loaded():


import sublime
from ..cfml_plugins import basecompletions
    )
    property_names = cfml_format.find_by_selector(
        "source.cfml.script meta.tag.property.name.cfml"
    )

    if len(properties) != len(property_names):
        return

    sorted_properties = [
        r
        for r, name in sorted(
            zip(properties, property_names), key=lambda x: cfml_format.view.substr(x[1])
        )
    ]
    replacements = [
        (r, cfml_format.view.substr(sorted_r))
        for r, sorted_r in zip(properties, sorted_properties)
    ]

    return replacements


def normalize_builtin_functions(cfml_format):
    setting = cfml_format.get_setting("normalize_builtin_functions")
    substitutions = []

    if setting is None:
        return substitutions

    function_name_map = {

# Path: src/cfml_plugins.py
# def _plugin_loaded():


# Path: src/formatting/misc.py
import sublime
from ..cfml_plugins import basecompletions

    )
    property_names = cfml_format.find_by_selector(
        "source.cfml.script meta.tag.property.name.cfml"
    )

    if len(properties) != len(property_names):
        return

    sorted_properties = [
        r
        for r, name in sorted(
            zip(properties, property_names), key=lambda x: cfml_format.view.substr(x[1])
        )
    ]
    replacements = [
        (r, cfml_format.view.substr(sorted_r))
        for r, sorted_r in zip(properties, sorted_properties)
    ]

    return replacements


def normalize_builtin_functions(cfml_format):
    setting = cfml_format.get_setting("normalize_builtin_functions")
    substitutions = []

    if setting is None:
        return substitutions

    function_name_map = {

        funct.lower(): funct for funct in basecompletions.basecompletions.function_names