All Projects → iloginow → vim-stylus

iloginow / vim-stylus

Licence: MIT license
A better vim plugin for stylus, including proper and up-to-date syntax highligting, indentation and autocomplete

Programming Languages

Vim Script
2826 projects
CSS
56736 projects

Projects that are alternatives of or similar to vim-stylus

CodeView
Android Library to make it easy to create an Code editor or IDE that support any languages and themes, with auto complete, auto indenting, snippets and more features
Stars: ✭ 254 (+418.37%)
Mutual labels:  syntax-highlighting, autocomplete
Influx Prompt
An interactive command-line InfluxDB cli with auto completion.
Stars: ✭ 42 (-14.29%)
Mutual labels:  syntax-highlighting, autocomplete
sublime-PICO-8
PICO-8 plugin for the Sublime Text 3 editor.
Stars: ✭ 42 (-14.29%)
Mutual labels:  syntax-highlighting, autocomplete
Ale
Check syntax in Vim asynchronously and fix files, with Language Server Protocol (LSP) support
Stars: ✭ 11,380 (+23124.49%)
Mutual labels:  autocomplete, vim-plugins
Smart Area
📝 Textareas on Steroids - AngularJS directive
Stars: ✭ 65 (+32.65%)
Mutual labels:  syntax-highlighting, autocomplete
vim-SystemVerilog
SystemVerilog syntax highlight/indent support in vim
Stars: ✭ 37 (-24.49%)
Mutual labels:  syntax-highlighting, vim-plugins
Rainbow csv
🌈Rainbow CSV - Vim plugin: Highlight columns in CSV and TSV files and run queries in SQL-like language
Stars: ✭ 337 (+587.76%)
Mutual labels:  syntax-highlighting, vim-plugins
sora-editor
A cool code editor library on Android with syntax-highlighting and auto-completion. (aka CodeEditor)
Stars: ✭ 580 (+1083.67%)
Mutual labels:  syntax-highlighting, autocomplete
Http Prompt
An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more. https://twitter.com/httpie
Stars: ✭ 8,329 (+16897.96%)
Mutual labels:  syntax-highlighting, autocomplete
Vim Systemd Syntax
Syntax highlighting for systemd service files in Vim.
Stars: ✭ 57 (+16.33%)
Mutual labels:  syntax-highlighting, vim-plugins
Graphql For Vscode
GraphQL syntax highlighting, linting, auto-complete, and more!
Stars: ✭ 265 (+440.82%)
Mutual labels:  syntax-highlighting, autocomplete
Codeeditor
A cool code editor library on Android with syntax-highlighting and auto-completion.
Stars: ✭ 84 (+71.43%)
Mutual labels:  syntax-highlighting, autocomplete
O
🌀 Text editor suitable for writing git commit messages and editing Markdown files. Can build executables and jump to errors at the press of `ctrl-space`, for several programming languages. Can format code with `ctrl-w`. Provides general syntax highlighting, rainbow parenthesis and cut/paste portals. o is intentionally limited to VT100.
Stars: ✭ 54 (+10.2%)
Mutual labels:  syntax-highlighting, autocomplete
Vcli
Vertica CLI with auto-completion and syntax highlighting
Stars: ✭ 75 (+53.06%)
Mutual labels:  syntax-highlighting, autocomplete
Ide Stubs
Phalcon IDE Stubs
Stars: ✭ 137 (+179.59%)
Mutual labels:  syntax-highlighting, autocomplete
lua-syntaxhighlight
A code syntax to HTML highlighter using lexers from Textadept
Stars: ✭ 20 (-59.18%)
Mutual labels:  syntax-highlighting
react-power-select
A highly composable & reusable select/autocomplete components
Stars: ✭ 63 (+28.57%)
Mutual labels:  autocomplete
dirgen
Generate files and folders from a template file
Stars: ✭ 21 (-57.14%)
Mutual labels:  indentation
Vim Afterglow
Vim adaptation of the Afterglow colorscheme
Stars: ✭ 248 (+406.12%)
Mutual labels:  syntax-highlighting
ST-ASS
ASS/SSA subtitles syntax highlight for Sublime Text.
Stars: ✭ 23 (-53.06%)
Mutual labels:  syntax-highlighting

Vim Stylus


Vim + Stylus = fast, effective and convenient CSS workflow!

Features

  • All HTML5 tags and CSS3 props are covered
  • Correct highlighting for interpolation and other Stylus-specific syntax
  • Custom autocomplete function for CSS props and values
  • Custom indentation is able to recognize selectors and function/mixin bodies
  • This plugin is Vim script only, no heavy stuff

Installation

If you use Pathogen (which is highly recommended):

cd ~/.vim/bundle
git clone git://github.com/iloginow/vim-stylus.git

If you use any other vim plugin manager, then I assume that you already know how to use it:)

Otherwise, you can just download this repo and unzip it right into your ~/.vim directory.

Autocomplete caveat

If you really want to take advantage of fast, effective and convenient CSS workflow, you probably need the autocomplete function to behave the same way it does on a small presentation above. You can see that it pops out automatically. And you can find several ways of doing this in vim's documentation. But the easiest one in my opinion is a plugin called MUcomplete. You can certainly choose heavy Python-powered engines like YouCompleteMe. Just make sure that you're aware of the KISS principle:).

Why it is not a wavded/vim-stylus fork?

If you're looking at this README file right now, I assume that you have most likely completed the following steps:

  • Chose Vim as your primary tool for web development
  • Discovered Stylus
  • Realized that it's somehow considerably better than SASS (or LESS)

So far, so good... The next question you'd probably ask yourself is how do you seamlessly integrate this amazing new tool into you workflow!? What you want is correct syntax highlighting, indentation and autocomplete. Because that's what you expect from any modern editor or IDE. If you ask google for a solution, wavded/vim-stylus repo is what you get.

To make a long story short, when I started to use it, poor syntax highlighting caught my eye immediately. Unfortunately, I got no autocomplete whatsoever and you could even see autoindent function do weird things from time to time. No offense to the authors, keep up the great work.

My first intention was to fork the repo and fix those bugs one by one. And I did forked the repo but when I looked at the code, I realized that it was not really a plugin but a mixture of https://github.com/lepture/vim-css and https://github.com/tpope/vim-haml roughly sewed together. Then I looked at the date of the last commit... and it was 2 years ago. And that's when I got the idea that in order to make this thing work properly I probably need to start it from scratch.

That was my story. And who knows... You might find a lot of things you don't like about my plulgin as well. Anyway, pull requests are more than welcome!!! And I promise to process them as fast as it possibly gets.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].