All Projects → gpanders → editorconfig.nvim

gpanders / editorconfig.nvim

Licence: GPL-3.0 license
EditorConfig plugin for Neovim

Programming Languages

Fennel
19 projects
lua
6591 projects
Vim Script
2826 projects
Makefile
30231 projects

Projects that are alternatives of or similar to editorconfig.nvim

code-guide
Code Guidelines : Moved to https://linianhui.github.io/code-guide/
Stars: ✭ 62 (-73.62%)
Mutual labels:  editorconfig
Editorconfig Vim
EditorConfig plugin for Vim
Stars: ✭ 2,739 (+1065.53%)
Mutual labels:  editorconfig
EditorConfig-Action
🔎A GitHub Action to check, enforce & fix EditorConfig style violations
Stars: ✭ 40 (-82.98%)
Mutual labels:  editorconfig
generator-node
🔧 Yeoman generator for Node projects.
Stars: ✭ 16 (-93.19%)
Mutual labels:  editorconfig
awesome-react-app
Always the latest version of "create-react-app" with awesome configurations (lint, commit lint, husk, editor config, etc)
Stars: ✭ 44 (-81.28%)
Mutual labels:  editorconfig
node-lintspaces
A validator for checking different kinds of whitespaces in your files.
Stars: ✭ 31 (-86.81%)
Mutual labels:  editorconfig
figma-plugin-typescript-boilerplate
Figma plugin TypeScript boilerplate to start developing right away
Stars: ✭ 43 (-81.7%)
Mutual labels:  editorconfig
editorconfig-defaults
No description or website provided.
Stars: ✭ 21 (-91.06%)
Mutual labels:  editorconfig
Editorconfig Sublime
Sublime Text plugin for EditorConfig - Helps developers maintain consistent coding styles between different editors
Stars: ✭ 1,749 (+644.26%)
Mutual labels:  editorconfig
pwa
An opinionated progressive web app boilerplate
Stars: ✭ 355 (+51.06%)
Mutual labels:  editorconfig
editorconfig-cli
📝🔧 initialize .editorconfig in your terminal
Stars: ✭ 26 (-88.94%)
Mutual labels:  editorconfig
happy-web
Project built during Rocketseat's Next Level Week #3
Stars: ✭ 19 (-91.91%)
Mutual labels:  editorconfig
editorconfig-vscode
EditorConfig extension for Visual Studio Code
Stars: ✭ 1,098 (+367.23%)
Mutual labels:  editorconfig
scala-basic-skeleton
Starting point if you want to bootstrap a project in Scala
Stars: ✭ 16 (-93.19%)
Mutual labels:  editorconfig
Friendly Code Editor
Try this Friendly Code Editor. You'll love it. I made it with a lot of effort. It has some great features. I will update it adequately later. Very helpful for developers. Enjoy and share.
Stars: ✭ 20 (-91.49%)
Mutual labels:  editorconfig
eslint-plugin-editorconfig
An ESLint plugin to enforce EditorConfig rules
Stars: ✭ 22 (-90.64%)
Mutual labels:  editorconfig
editorconfig-gradle-plugin
A Gradle plugin for checking whether project files comply with format rules defined in .editorconfig files and eventually also for fixing the violations
Stars: ✭ 40 (-82.98%)
Mutual labels:  editorconfig
SharedInfrastructure
Centralized infrastructure elements for SixLabors projects. (msbuild, linting, shared internals)
Stars: ✭ 19 (-91.91%)
Mutual labels:  editorconfig
fe-standard-config-seed
前端通用代码规范自动化接入
Stars: ✭ 18 (-92.34%)
Mutual labels:  editorconfig
Shangchao-Website
(官网案例) - 上朝科技 - Vue 2.0 - SPA项目
Stars: ✭ 22 (-90.64%)
Mutual labels:  editorconfig

editorconfig.nvim

EditorConfig plugin for Neovim written in Lua Fennel.

editorconfig.nvim is tested against editorconfig-plugin-tests.

This plugin is considered complete: bugs will continue to be fixed if and when they're found, but no new features will be added (except to stay up-to-date with any changes to the EditorConfig specification).

Supported properties

  • charset
  • end_of_line
  • indent_size
  • indent_style
  • insert_final_newline
  • max_line_length
  • tab_width
  • trim_trailing_whitespace

Adding custom properties

Custom properties can be added through the properties table:

require('editorconfig').properties.foo = function(bufnr, val)
  vim.b[bufnr].foo = val
end

Installation

Install using your favorite package manager, or install manually using Nvim's builtin package support:

git clone https://github.com/gpanders/editorconfig.nvim ~/.config/nvim/pack/gpanders/start/editorconfig.nvim

This plugin requires no setup and will "just work" when installed.

FAQ

Q: Why use this instead of editorconfig-vim?

A: This plugin aims for simplicity and performance: editorconfig-vim contains over 1000 SLOC, while this plugin has just under 200.

Q: Why does it only work for Neovim?

A: Vim does not have the same level of support for Lua, and this plugin uses many Neovim-specific APIs. Vim users should continue to use editorconfig-vim.

Contributing

File issues in the GitHub issue tracker. Changes can be sent as git-send-email patches to ~gpanders/[email protected] or as a GitHub pull request.

License

GPLv3

See Also

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].