mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 11:40:36 +00:00
e901890e977f51fcf24dea6d7f9d7cc4731b0e78
The tailwind-sorter.lua file was added to the absolute/after directory. This file sets up the tailwind-sorter plugin with the following configuration: - on_save_enabled is set to true, enabling the plugin to run on file save. - on_save_pattern is set to a list of file patterns for which the plugin should run on save. The patterns include "*.html", "*.js", "*.jsx", "*.tsx", "*.twig", "*.hbs", "*.php", "*.heex", "*.astro", and "*.vue". Additionally, the tailwind-sorter.lua file was added to the absolute/plugins directory. This file returns a table with the following properties: - The first element is the plugin name "laytan/tailwind-sorter.nvim". - The dependencies property specifies the required plugins "nvim-treesitter/nvim-treesitter" and "nvim-lua/plenary.nvim". - The build property specifies the build command to be executed in the "formatter" directory. This command installs the necessary npm packages and builds the plugin. - The config property is a function that requires the "absolute.after.tailwind-sorter" module, which contains the plugin configuration. These changes were made to add the tailwind-sorter plugin to the project and configure it for use.
Absolute VIM Configuration
Introduction
Here's the VIM configuration I'm going to be using for most of my professional work this year. There may be changes as I discover new plugins. I intent to personalize this to my taste and coding conventions. Feel free to try it out if you fancy 😄.
Installation
git clone https://github.com/boxpositron/absolute-vim ~/.config/nvim --depth 1 && nvim
Components
Package Manager
I'm using lazy.nvim to manage all the packages. I setup the project to use the after directory as well. Lazy does not need to use this but I set it up incase you want to switch to a different package manager like packer. You'll notice I require the plugin file from after in the config function for the plugin. It's worked for me and it keeps things organized.
TODO: List out Plugins
Description
Languages
Lua
100%