Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Go Layer

This layer provides support for the Go language with the following packages:

Table of Contents

Install

Add the +lang/go layer in your configuration file,

function! Layers()
  " ...
  Layer '+lang/go'
  " ...
endfunction

Binaries

Run :GoInstallBinaries to install the binaries needed for vim-go.

Indentation

You can configure the indentation by setting g:sp_go_indentation in your user-init block (i.e. before loading the plugin). By default it is set to 4.

Language Server

This layer sets up the gopls language server for usage with coc.nvim.

Key Bindings

Key Binding Description
        |