<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>VimL on The Final Artefact</title><link>https://www.thefinalartefact.xyz/tags/viml/</link><description>Recent content in VimL on The Final Artefact</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Sat, 30 Sep 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://www.thefinalartefact.xyz/tags/viml/index.xml" rel="self" type="application/rss+xml"/><item><title>Aggressively formatting your Python files</title><link>https://www.thefinalartefact.xyz/post/aggressively-formatting-your-python-files/</link><pubDate>Sat, 30 Sep 2023 00:00:00 +0000</pubDate><guid>https://www.thefinalartefact.xyz/post/aggressively-formatting-your-python-files/</guid><description>&lt;p&gt;Vim provides a wide range of functions for file formatting, starting with basic features such as &lt;code&gt;reindent&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id="viml-implementation"&gt;VimL Implementation&lt;/h2&gt;
&lt;p&gt;Creating a function within Vim to process the file is likely the most straightforward approach. The primary purpose of this function is to pass the filename to an external command for formatting. Leveraging the rich ecosystem of Python formatting tools available from the command line allows the function to efficiently and consistently format files, tapping into powerful, pre-existing solutions for code aesthetics and standardization. In effect, the role of the function is to pass the filename to the call below:&lt;/p&gt;</description></item></channel></rss>