refactor(fortran): conform to conventions

This commit is contained in:
Henrik Lissner 2022-01-11 01:27:06 +01:00
parent 9cba28621f
commit 3a3a8dc240
2 changed files with 18 additions and 17 deletions

View file

@ -10,7 +10,7 @@
;; Used by `compile' (SPC c c)
(setq-hook! 'f90-mode-hook
compile-command "gfortran "
compilation-buffer-name-function #'+fortran/compilation-buffer-name)
compilation-buffer-name-function #'+fortran-compilation-buffer-name-fn)
(set-popup-rule! "^\\*fortran-compilation" :side 'right :size 0.5 :quit t)
;; --- LSP Configuration --- ;;
@ -41,7 +41,7 @@
;; Used by `compile' (SPC c c)
(setq-hook! 'fortran-mode-hook ; TODO These work for f90 but not for fortran.
compile-command "gfortran -std=legacy "
compilation-buffer-name-function #'+fortran/compilation-buffer-name)
compilation-buffer-name-function #'+fortran-compilation-buffer-name-fn)
(set-popup-rule! "^\\*fortran-compilation" :side 'right :size 0.5 :quit t)
;; --- LSP --- ;;