.ycm_extra_conf.py
author Ian Neal <iann_cvs@blueyonder.co.uk>
Sun, 24 Nov 2019 14:23:24 +0100
changeset 32378 c12e2470fc25712059d8271e4f0b8175e4e67c9e
parent 23036 4a3dca917204472c1d1bd029a085fe8c745887da
permissions -rw-r--r--
Bug 1597554 - Port |Bug 537378 - "search messages" (Ctrl+Shift+F) should be enabled in the 3pane - doesn't open if no folder or account selected/focused in folder pane.|. r=frg a=frg CLOSED TREE

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

import imp, os, sys

old_bytecode = sys.dont_write_bytecode
sys.dont_write_bytecode = True

ycm_module = imp.load_source("_ycm_extra_conf", os.path.join("mozilla", ".ycm_extra_conf.py"))

sys.dont_write_bytecode = old_bytecode

# Expose the FlagsForFile function from mozilla/.ycm_extra_conf.py
FlagsForFile = ycm_module.FlagsForFile