ray-x
4f3d09f0a3
use vim.log.levels instead of vim.lsp.log_levels
2 years ago
ray-x
26fd07ebad
use gopls in gofmt
2 years ago
rayx
0f72dbdd87
Fix unit test errors 🎄 🎆 ( #265 )
...
* test pipeline
* update unit tests
2 years ago
ray-x
6eea6a265d
format format.lua
2 years ago
ray-x
74d65542d4
issue #189 format warning message
2 years ago
ray-x
4e44e251db
update notify message when format is missing
2 years ago
ray-x
bedc73166a
#187 vim.lsp.buf.format missing in some version of neovim
2 years ago
mateusz
002e199562
synchronous goimports ( #186 )
...
* fix save formatting
* fix vim.lsp.buf.format polyfill
* reformat and default values
* remove extra end
Co-authored-by: rayx <rayx.cn@gmail.com>
2 years ago
ray-x
3774ac0eba
lint
2 years ago
liangkai
dffe933fd1
replace utils.notify by utils.warn ( #168 )
2 years ago
ray-x
6108dc9ea1
bugfix test failure
2 years ago
ray-x
484524b875
do not use golines as goimport default formater, #157
2 years ago
ray-x
981adf9b39
Features:
...
1) count the overall test coverage per-file and per-project
2) add gotestsum as a test runner option
3) handle windows GOPATH and
4) minor fix: stop GoFmt if no formatter is available
2 years ago
ray-x
fb4f37a328
allow show coverage summary with 'go tool cover -func' in qf
2 years ago
ray-x
30d30f407a
fix diagnostic warnings for all files
2 years ago
ray-x
2b15b59d18
issue #132 goimport format options
2 years ago
ray-x
f5f5c41165
fix typo
2 years ago
ray-x
002d7dfd73
infer the test func name with treesitter
2 years ago
ray-x
eb4d380807
allow format all buffers with goimports
2 years ago
ray-x
051e8b2afa
cheatsheet(cht.sh) supports in go.nvim
2 years ago
ray-x
dbf0094f25
write buffer after gofmt
2 years ago
ray-x
8b7d2c3eda
formatting_sync -> format
2 years ago
ray-x
97f0d7e620
formatting -> format for neovim 0.8
2 years ago
ray-x
49b311aff2
issue #83 disable notify
3 years ago
ray-x
df512d695f
issue #94 GoImport autocomplete
3 years ago
rayx
32f103258b
Gotest refactor ( #102 )
...
* issue #82 allow close terminal in current buffer
* update go test arguments
* auto complete args updates based on @Craig Rodgigues feedbacks
* update test arguments
* Return cursor to previous cursor position (#101 )
`GoGet` and `GoMod` opens up a new split and move the cursor there.
If the cursor isn't moved back to the *.go buffer, `utils.restart`
will try to spawn gopls in the terminal split, which results in
gopls failed to restart properly.
* fix double close when end dap session
* add relFileDir in launch.json
* update sample go app
* fix: remove cover file (#107 )
* fix: remove cover file
* fix: coverage notify message
* github action setup for go 1.18
* issue #109 config dap marker
* setup pipeline with go install
* add icons setup options in doc issue #35 issue #109
Co-authored-by: Mochammad Hanif R <etrnal70@gmail.com>
Co-authored-by: Nicolas Barbosa <ndevbarbosa@gmail.com>
3 years ago
ray-x
192486892b
bugfix #65 coverage failed
3 years ago
Craig Rodrigues
483b56f4a2
Replace print() with vim.notify() ( #64 )
3 years ago
ray-x
0bc7abace6
bug fix for github workflow
3 years ago
Viktor Kojouharov
b09f8354bf
Make formatting sync during import ( #32 )
...
With sync formatting, the function can be used in BufWritePre without the buffer ending up modified the save.
3 years ago
ray-x
7feb745e6c
remove gofumport from go.nvim #18
3 years ago
ray-x
3fc75ca46a
refact fillstruct and codeaction add GoFixPlurals
3 years ago
ray-x
8ea0ff1d3a
commit
3 years ago
ray-x
5c5b102b93
arguments
3 years ago
ray-x
d6f0249023
format
3 years ago
ray-x
b517d7a6b9
updates
3 years ago
ray-x
af25e1e2e7
goimport cleanup
3 years ago
ray-x
d9e0a4be9f
workflow fix
3 years ago
ray-x
c0771b93c8
test workflow
3 years ago
ray-x
e17b25eee7
#26 add goimports -local support
3 years ago
ray-x
35f546fed1
test workflow
3 years ago
ray-x
c28fa04029
merge github action/workflow
3 years ago
ray-x
a3d29e5cbd
bugfix for gopls: goimport check code action type
3 years ago
Ryder
49c0a4280e
fix: max_line_line typo ( #21 )
3 years ago
ray-x
786a9c67ad
rename lsp format to gopls format
3 years ago
ray-x
d8fc9cbe1e
rename lsp_enable to lsp_cfg
3 years ago
ray-x
a1dc56973d
Add options allows goimport and gofmt with lsp. Add options for go.nvim gopls config be loaded
3 years ago
ray-x
9d170d4954
Dap support
3 years ago
Crows
6d41723098
fix require('go.util') error ( #7 )
3 years ago
Crows
ba4156a5b8
Fix format error on macOS ( #6 )
3 years ago