Function: meson-mode
meson-mode is an interactive and natively compiled function defined in
meson-mode.el.
Signature
(meson-mode)
Documentation
Major mode for editing Meson build system files.
<f1> meson-lookup-doc
In addition to any hooks its parent mode prog-mode might have run,
this mode runs the hook meson-mode-hook, as the final or penultimate
step during initialization.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/57kn62wrv0z1jads9j9blmagdm8rh132-emacs-packages-deps/share/emacs/site-lisp/elpa/meson-mode-20240601.1647/meson-mode.el
;;;###autoload
(define-derived-mode meson-mode prog-mode "Meson"
"Major mode for editing Meson build system files.
\\{meson-mode-map}"
:abbrev-table nil
(setq font-lock-defaults
'(meson-mode-font-lock-keywords
nil nil nil nil))
(set (make-local-variable 'syntax-propertize-function)
meson-syntax-propertize-function)
(set (make-local-variable 'comment-start) "# ")
(set (make-local-variable 'comment-end) "")
(setq indent-tabs-mode nil)
(add-hook 'completion-at-point-functions
#'meson-completion-at-point-function nil t)
(smie-setup meson-smie-grammar #'meson-smie-rules
:forward-token #'meson-smie-forward-token
:backward-token #'meson-smie-backward-token)
(add-function :before-until (local 'eldoc-documentation-function)
#'meson--eldoc-documentation-function))