Commit graph

15 commits

Author SHA1 Message Date
Henrik Lissner
ebf91a1363
refactor: use true eos regex in auto-mode-alist entries
"\\'" will match the true end-of-string, whereas "$" will also match
just before a newline character. Not that there's much risk that
there'll be newlines in a filepath, but I'd rather be consistent. It
also makes these entries easier for users to remove from
auto-mode-alist.
2024-08-25 17:44:29 -04:00
Ellis Kenyő
e44a7b3c5b
fix(fortran): remove executable-find formatter check 2023-09-13 20:21:03 +01:00
Ellis Kenyő
efd5ee00ea
feat(format): add :lang fortran formatter 2023-09-13 20:20:59 +01:00
Henrik Lissner
a44e8d6bfd
nit: general reformatting & minor comment revision 2023-09-11 23:56:21 +02:00
Colin Woodbury
3a01faed49 feat(fortran): SPC m f o opens project config 2023-09-09 23:58:22 +02:00
Colin Woodbury
e395ff0eb0 fix(fortran): account for the .F90 extension
In the Elder Days, it was common to give Fortran files the extensions of
`.FOR` or later `.F90`. The major modes for Fortran don't automatically
detect this conversion. The former was already accounted for in Doom's
module, but not the latter. This commit rectifies this.
2023-02-23 23:12:13 -05:00
Henrik Lissner
ad6a3d0f33
refactor: deprecate featurep! for modulep!
featurep! will be renamed modulep! in the future, so it's been
deprecated. They have identical interfaces, and can be replaced without
issue.

featurep! was never quite the right name for this macro. It implied that
it had some connection to featurep, which it doesn't (only that it was
similar in purpose; still, Doom modules are not features). To undo such
implications and be consistent with its namespace (and since we're
heading into a storm of breaking changes with the v3 release anyway),
now was the best opportunity to begin the transition.
2022-08-14 20:43:35 +02:00
Colin Woodbury
f64a61a7e1 feat(fortran): keymappings for Intel 2022-04-16 02:48:24 +02:00
Colin Woodbury
81dc9af008 feat(fortran): initial addition of ifort functions 2022-04-16 02:48:24 +02:00
Henrik Lissner
d58d084774
tweak(:lang,:tools): start eglot/lsp-mode later
To ensure lsp/eglot settings have precedence over local servers (e.g.
cider and lookup handlers).

Ref: clojure-emacs/cider#3170
2022-03-30 17:32:47 +02:00
Colin Woodbury
5c32360361 feat(fortran): improve keymap layout 2022-03-21 04:00:10 +01:00
Colin Woodbury
137fca35d8 feat(fortran): generalised build options for menu
Specifically for when compilation is done through the modeline's Easy
Menu, the commands will use `fpm` or `gfortran` dynamically depending on
whether the current file is present in a project or not.
2022-03-21 04:00:10 +01:00
Colin Woodbury
5c52ba35e7 feat(fortran): override the default menus 2022-03-21 04:00:10 +01:00
Henrik Lissner
3a3a8dc240 refactor(fortran): conform to conventions 2022-01-12 01:55:34 +01:00
Colin Woodbury
f3ddf235b5
module: add :lang fortran
* feat(fortran): account for f90 and fortran modes

* feat(fortran): initial keybindings

* feat(fortran): basic compilation

* feat(fortran): compilation popup

This customizes the name of the compilation buffer produced by the
`compile` function. We're keeping things simple; Emacs already knows how
to run compilation commands in a popup and parse the results, so let's
let it do its thing.

* feat(fortran): doctor checks

* docs(fortran): installation instructions

* feat(fortran): actual usage of fpm

* feat(fortran): configure compilation popups

* feat(fortran): improved raw gfortran usage

Although it's recommended to do everything through `fpm` to make life
easier.

* docs(fortran): backburner `+intel` for now

* feat(fortran): address PR suggestions
2021-12-15 15:16:22 +01:00