Skip to content

Deedone/checkpatch.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

checkpatch.nvim

Simple Kernelstyle linter

This plugin is a front-end for checkpatch.pl script. It automaticlly runs the script every time you save your .c or .h files and shows errors in the editor.

Install

Requierments

  • Latest version of neovim
  • Perl
  • checkpatch script from kernel source tree

For vim-plug

Plug 'Deedone/checkpatch.nvim', { 'do': ':UpdateRemotePlugins' }

let g:checkpatch_enabled = 1
let g:checkpatch_path = "/path/to/checkpatch.pl"

For dein.vim

call dein#add('Deedone/checkpatch.nvim')
let g:checkpatch_enabled = 1
let g:checkpatch_path = "/path/to/checkpatch.pl"

If something breaks try to execute :UpdateRemotePlugins

Configuration

Variables

let g:checkpatch_path = "/path/to/checkpatch.pl"
let g:checkpatch_enabled = 1

Commands

:CheckpatchEnable
:CheckpatchDisable

Screenshots

Example

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published