Tuesday, 15 September 2015

emacs24 - I just started using Emacs 24.3.1 with System Verilog and I want to fix some default behavior -



emacs24 - I just started using Emacs 24.3.1 with System Verilog and I want to fix some default behavior -

specifically, i'd maintain syntax formatting turn off auto-indenting , auto-newline after semicolons. i'd appreciate help.

you add together next lines emacs configuration file (usually .emacs or .emacs.el or .emacs.d/init.el in home directory).

note sufficient remove ";" mapping accomplish both objectives. if ever find useful have auto-indent on ";" no newline, can set verilog-auto-newline nil.

;; not add together newline on semicolon (setq verilog-auto-newline nil) ;; remove ";" mapping there no electrical effects (add-hook 'verilog-mode-hook (lambda () (define-key verilog-mode-map ";" nil)))

system-verilog emacs24

No comments:

Post a Comment