Skip to content

dafufer/nvim-cm-swift-completer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Swift completion for NCM, based on the SourceKitten framework.

screencast

Requirements

vimrc example

Plug 'roxma/nvim-completion-manager'

" swift
Plug 'dafufer/nvim-cm-swift-completer'

jump to placeholders

autocmd FileType swift nmap <buffer> <C-k> <Plug>(swift_completer_jump_to_placeholder)
autocmd FileType swift imap <buffer> <C-k> <Plug>(swift_completer_jump_to_placeholder)

setting custom target and SDK, and a SPM Module to read flags from it

" this variables can also be set specifically for a buffer by using b: instead of g:
let g:swift_completer_sdk = '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk' "
let g:swift_completer_target = 'arm64-apple-ios9.0' 
let g:swift_completer_spm_module = 'Test' 

About

Swift completer for nvim-completion-manager: https://github.com/roxma/nvim-completion-manager

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published