cursive
cursive copied to clipboard
'One space indent' doesn't seem to work for ns macro
I work in a mixed team and occasionally get ragged on for Cursive messing up existing indentation, particularly in :require lists. I can't seem to match the clojure-mode default in Cursive, even with the 'One space list indent' turned on.
FWIW, I have the ns macro set to 'Indent' in 'Form parameters', and our nses typically look like this:
(ns namespace.name
(:require
[core.async :as async]
...))
I've tried twiggling ns's form parameters setting to various things and changing the indent options (even setting 'Indent' to 1 under 'Tabs and Indents', and nothing seems to pull that first require vector back under the colon. Maybe there's a special exception that could/should be made for the ns macro since the :require and :import forms are neither literal lists nor macros in their own right?
Is this still an issue? It appears to work correctly in Cursive 1.12.8-2023.1.