
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
This is the snippets and autocompletions for Netwide Assembler language in coc.nvim
coc-nasm is a vim plug which can be downloaded from coc.nvim. It is also one of the plugin for Netwide Assembler (NASM) programing. In fact, Assembly Languages and Assemblers have few plugins for coding, but that does not mean we do not have any of them to support them.
:CocInstall coc-nasm
https://who5673.github.io/coc-nasm-web/
‼️ NOTE: That website is under construction.
coc-nasm has snippets and auto-completions for NASM, but note: This plugin does not support syntax highlighting. You may need them by installing third-party plugins for NASM. Fortunately, vim supports syntax highlighting for that language;coc-nasm supports from 8-bit to 64-bit ISA syntaxes. After June 14th, 2026, this plugin also supports SSE, AVX and AVX-512 completions;Not all the dependencies of the app will be installed via :CocInstall coc-nasm, but you can install them from coc.nvim.
Firstly, to make sure that coc-nasm works correctly, after installing, you need to:
.nasm file;coc.nvim is released by neoclide);
(github link: coc.nvim)coc-snippets, as coc-nasm depends much on it::CocInstall coc-snippets
github link for coc-snippets (coc-snippets is invented by neoclide): coc-snippets
:CocRestart
Currently, coc-nasm has some special words for NASM to use like:
| Name | Type (current) | Functions |
|---|---|---|
printHello | snippet | Print an example Netwide Assembler program (for Linux, it prints "Hello world"); |
program | snippet | Get a basic template of a Netwide Assembler program to start coding faster (if you want to make a library, do not use this snippet) |
sum | snippet | Get a basic example of a function that calculates the sum of 2 integers. |
default rel | auto-completion | Must put this at the 1st (first) line of the NASM language if you want to create and import a NASM library into C/C++ or in another NASM script |
const | snippet | equ $-labelname snippet to calculate the length of a string. Place this right after you have defined byte a string label. |
These are some snippets or completions that have been removed:
| Name | Removing date (month/date/year) | Type | Functions |
|---|---|---|---|
pi64 and pi32 | 10/6/2025 | snippet | Basic pi for 64-bit (pi64) and 32-bit (pi32) architecture |
basicoutput | 10/6/2025 | snippet | Write a basic script to print a variable into stdout (terminal screen). |
↘️More features:
mov, lea, rep,...and some registers like rax, rdi, rsi,...who5673-nasm - A plugin which has the benefit is almost like this plugin but for lazy.nvim
Thank you for using my coc-nasm plugin so much.
Copyright © by who5673. All rights served.This is an official coc.nvim plugin for NASM (made by who5673).
MIT
FAQs
This is the snippets and autocompletions for Netwide Assembler language in coc.nvim
The npm package coc-nasm receives a total of 354 weekly downloads. As such, coc-nasm popularity was classified as not popular.
We found that coc-nasm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.