Function: haskell-indentation-current-indentation

haskell-indentation-current-indentation is a natively compiled function defined in haskell-indentation.el.

Signature

(haskell-indentation-current-indentation)

Documentation

Column position of first non-whitespace character in current line.

Source Code

;; Defined in /nix/store/9lz2mhw95f9fqxr9mnq46k3f6qz3aq83-emacs-packages-deps/share/emacs/site-lisp/elpa/haskell-mode-20260904.1042/haskell-indentation.el
(defun haskell-indentation-current-indentation ()
  "Column position of first non-whitespace character in current line."
  (save-excursion
    (beginning-of-line)
    (when (haskell-indentation-bird-p)
      (forward-char))
    (skip-syntax-forward "-")
    (current-column)))