smarttabs
smarttabs copied to clipboard
Emacs smart tabs - indent with tabs, align with spaces!
Given the following unindented code: ``` js function foo() { readableStream.pipe(throughStream) .pipe(writableStream); } ``` the correct indentation with smart-tabs-mode enabled is: ``` js function foo() { readableStream.pipe(throughStream) .pipe(writableStream); } ```...
os: mac os 10.10.4 emacs: 24.4 (9.0) smart-tabs-mode: 20140331.1629 In regular python.el (not python-mode.el) typing a colon ( : ) moves the point to the beginning of the indented line....
Either of the follow config setting in my .emacs silently disable smart-tab. That is when I press ``` ``` it behaves like regular indentation ``` (defun my-company-hook () (company-mode t)...
I get the following error in GNU Emacs 29.0.50 on macOS 12.5.1. ```emacs-lisp Debugger entered--Lisp error: (error "Eager macro-expansion failure: (error \"Eager macro...") error("Eager macro-expansion failure: %S" (error "Eager macro-expansion...
As of now, `smart-tabs-add-language-support` doesn't support indent functions that rely on multiple offsets. An example is `svelte-indent-line` from `svelte-mode` ([GitHub](https://github.com/leafOfTree/svelte-mode)), which would require setting `svelte-basic-offset`, `sgml-basic-offset` and `js-indent-level` all to...
smart-tabs-mode.el:143:9: Error: Eager macro-expansion failure: (error "Eager macro-expansion skipped due to cycle: … => (load \"smart-tabs-mode.el\") => (macroexpand-all …) => (macroexpand (smart-tabs-create-advice-list …)) => (load \"smart-tabs-mode.el\")")
I had the error described in #53 This seems to solve it.
Silences the following warning in Emacs 29 and newer: ``` ⛔ Warning (comp): smart-tabs-mode.el:265:2: Warning: docstring has wrong usage of unescaped single quotes (use \= or different quoting) ```