doomemacs/modules/lang/sh
Henrik Lissner 037b018cdd
feat: add .doommodule files
These optional dotfiles indicate the root of a module or module
group (:lang), and will later contain module metadata. They will also
serve as an alternative to packages.el and doctor.el, and will aide the
parts of the v3.0 module API concerned with resolving the current module
from a path (`doom-module-from-path`), which currently rely too heavily
on parsing path strings.

For now, however, they're simply placeholders.
2024-09-14 20:47:39 -04:00
..
.doommodule feat: add .doommodule files 2024-09-14 20:47:39 -04:00
autoload.el fix(sh): eagerly load sh-script mode when opening a REPL 2023-03-08 20:31:25 -05:00
config.el fix(format): register shfmt for sh-mode 2024-07-30 02:54:25 -04:00
doctor.el refactor: deprecate featurep! for modulep! 2022-08-14 20:43:35 +02:00
packages.el bump: :lang 2024-09-07 19:04:37 -04:00
README.org docs(*): replace all-the-icons with nerd-icons 2023-09-16 20:19:11 +02:00

:lang sh

Description   unfold

This module adds support for shell scripting languages (including Powershell and Fish script) to Doom Emacs.

Module flags

+fish
Add syntax highlighting for fish script files.
+lsp
Enable LSP support for sh-mode. Requires doom-module::tools lsp and a langserver (supports bash-language-server).
+powershell
Add syntax highlighting for Powershell script files (.ps1 and .psm1).
+tree-sitter
Leverages tree-sitter for better syntax highlighting and structural text editing. Requires doom-module::tools tree-sitter.

Hacks

  • Interpolated variables are fontified.

TODO Changelog

This module does not have a changelog yet.

Installation

Enable this module in your doom! block.

This module has several optional dependencies:

  • shellcheck: Enables advanced shell script linting.
  • bash-language-server: Enables LSP support (with doom-module:+lsp flag).
  • With the doom-module::tools debugger module

    • bashdb: Enables debugging for bash scripts
    • zshdb: Enables debugging for zsh scripts
  • With the doom-module::editor format module

    • shfmt: Enables formatting for {posix,ba,mk}sh scripts

TODO Usage

󱌣 This module has no usage documentation yet. Write some?

TODO Configuration

󱌣 This module has no configuration documentation yet. Write some?

Troubleshooting

There are no known problems with this module. Report one?

Frequently asked questions

This module has no FAQs yet. Ask one?

TODO Appendix

󱌣 This module has no appendix yet. Write one?