daml/dev-env/dotfiles/README.md
Bernhard Elsner cda93db944
Daml case and logo (#8433)
* Replace many occurrences of DAML with Daml

* Update docs logo

* A few more CLI occurrences

CHANGELOG_BEGIN
- Change DAML capitalization and docs logo
CHANGELOG_END

* Fix some over-eager replacements

* A few mor occurrences in md files

* Address comments in *.proto files

* Change case in comments and strings in .ts files

* Revert changes to frozen proto files

* Also revert LF 1.11

* Update get-daml.sh

* Update windows installer

* Include .py files

* Include comments in .daml files

* More instances in the assistant CLI

* some more help texts
2021-01-08 12:50:15 +00:00

31 lines
951 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Editor Daml Language Integration
## Vim
In order to enable vim syntax highlighting for our DSLs, execute the following
two lines in your terminal (assuming `~/dev` is where you've checked out digital-asset/daml)
```
mkdir -p ~/.vim/syntax
ln -s ~/dev/dotfiles/vim/syntax/*.vim ~/.vim/syntax/
```
You also want to make sure that you are sourcing the `.vimrc_da` file in
your `~/.vimrc`.
## VS Code
Follow the Daml Studio installation instructions in the Daml user guide.
## Update Keywords
The instructions on how to update the syntax highlighting of keywords in all our
supported editors is in `pkgs/da-hs-daml-base/src/DA/Daml/ReservedNames.hs`
(see documentation for `printEditorKeywords`).
## Stylish Haskell
Copy the `stylish-haskell.yaml` file either to `~/.stylish-haskell.yaml` or to
`~/dev/.stylish-haskell.yaml`. If you are using vim you can use the plugin
`jasperdvdj/stylish-haskell` to automatically style your code on write.