How do I prevent flycheck from triggering a warning for the following code:
(defun file-path-last-segment ()
"Get last segment of file path for use in snippets."
(-> default-directory
(file-name-directory)
(directory-file-name)
(file-name-nondirectory)))
The following warning appears in my flycheck errors:
the function ‘->’ is not known to be defined.