Commit graph

13 commits

Author SHA1 Message Date
Matthias Krack
3b6314e491 Introduce @FFTYPE directive
- @FFTYPE loads a &FORCEFIELD section from the database folder cp2k/data/forcefield_section analogous to the @XCTYPE directive for the &XC section
- Update vim syntax file
2024-01-15 23:09:52 +01:00
Matthias Krack
d73a108234 Highlight section and keyword names with hyphens too 2024-01-12 12:32:32 +01:00
Matthias Krack
cddf79608f Update vim syntax file: include all alias names for keywords
Get also rid of unnecessary repetitions
2023-12-13 13:40:17 +01:00
Matthias Krack
472c987a54 Update vim syntax file generation
- Recognize XCTYPE macro keyword
- Indent macro kewords like sections, keywords, and comments
- Indent body of @IF/@ENDIF block like &SECTION/&END
2023-12-12 18:23:52 +01:00
Ole Schütt
443130275c precommit: Wrap Markdown lines after 100 characters 2023-11-14 12:47:36 +01:00
Matthias Krack
6122b45f04 Filter empty keywords 2022-12-13 14:17:09 +01:00
Ole Schütt
786bc82ff9 precommit: Switch from markdownlint to mdformat 2022-11-06 16:15:27 +01:00
Ole Schütt
243f8aaefc Format Markdown files to comply with Linter 2020-08-25 12:57:37 +02:00
Ole Schütt
14ae7bcb71 Add cp2k version to vim editor plugin 2019-03-13 18:27:06 +01:00
Matthias Krack
0e8c8d0185 Adjust font size 2019-03-13 17:40:48 +01:00
Matthias Krack
b2aeb7987b Add README for Vim editor plugin 2019-03-13 17:40:48 +01:00
Patrick Seewald
2362289011 vim-cp2k: remove fold settings since this overrides user's defaults in vimrc.
If you want these settings, put them in your vimrc as

autocmd Filetype cp2k setlocal foldlevel=99
autocmd Filetype cp2k setlocal foldmethod=indent


svn-origin-rev: 17554
2016-11-18 14:04:43 +00:00
Iain Bethune
4c382dc944 Add emacs mode for editing CP2K input files (and locate it alongside the vim tools) (Lianheng Tong)
svn-origin-rev: 13495
2014-01-23 13:36:54 +00:00