The colors that are used to highlight Agda syntax and errors can beĪdjusted by typing M-x customize-group RET agda2-highlight RET inĮmacs and following the instructions. If you want to turn off this feature, then you should customise the This only works if the right fonts are available, though. The current frame in order to enable many Unicode symbols to beĭisplayed. Note that, on some systems, the Emacs mode changes the default font of ( add-hook 'agda2-mode-hook ' ( lambda () If you do not want to use any input method: ( deactivate-input-method ) (In some versions of Emacs you should use inactivate-input-method instead of deactivate-input-method.) If you want to you can customise the Emacs mode. The menus contain more commands than the ones listed above. Menus ¶Ī main menu called Agda2 which is used for global commands.Ī context sensitive menu which appears if you right-click in a hole. Specific issues with the code, see Background highlighting below. Agda uses certain background colors to indicate This willĪpply syntax highlighting to the code and display any errors in a Listed under Notation for key combinations below). agda and load it by pressing C-c C-l (other commands are To edit a module in Emacs (assuming you have installed Agda and the Emacs mode properly), open a file ending Studio Code ( agda-mode on VS Code), and Vim ( agda-vim). Other editors with interactive support for Agda include Atom Agda programs are commonly edited using Emacs which is explained in this
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |