Moved add-hook calls (for tree-sitter initialization) into their respective modes' config blocks, or nearby, to be consistent with how other, similar tools (like lsp!) are initialized, and does so at runtime, rather than at expansion/compile time, which eval-when! caused. |
||
---|---|---|
.. | ||
autoload.el | ||
config.el | ||
doctor.el | ||
packages.el | ||
README.org |
lang/sh
Table of Contents TOC
Description
This module adds support for shell scripting languages.
- Code completion (company-shell)
- Syntax Checking (flycheck)
Module Flags
+lsp
Enables LSP support for sh-mode. This requires the:tools lsp
module to be enabled and bash-language-server to be installed on your system.+fish
Add syntax highlighting for fish script files.+powershell
Add syntax highlighting for Powershell script files .ps1 and .psm1
Plugins
- company-shell* (
:completion company
) - fish-mode* (
+fish
) - powershell-mode* (
+powershell
)
Hacks
- Interpolated variables are fontified.
Prerequisites
This module has several optional dependencies:
- shellcheck: Enables advanced shell script linting.
- bash-language-server: Enables LSP support (with
+lsp
flag). -
With the
:tools debugger
module