Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

publish a vim plugin #4

Closed
2 of 4 tasks
vito opened this issue Oct 23, 2021 · 1 comment
Closed
2 of 4 tasks

publish a vim plugin #4

vito opened this issue Oct 23, 2021 · 1 comment

Comments

@vito
Copy link
Owner

vito commented Oct 23, 2021

  • implement a language server, bass-lsp
  • vim syntax
  • treesitter parser?
  • wires up bass-lsp

Until then, here's the config I'm using - it basically hijacks the Clojure config, so you may want to disable that:

lua <<EOF
local configs = require('lspconfig/configs')
local util = require('lspconfig/util')

configs.bass = {
  default_config = {
    cmd = { 'bass-lsp' },
    root_dir = util.root_pattern('.git'),
    filetypes = { 'clojure' }
  },

  docs = {
    description = [[https://github.com/vito/bass]],
  },
};
EOF

autocmd! BufEnter *.bass setlocal ft=clojure lispwords+=job,def,op,defop,defn,defcmd,provide
@vito
Copy link
Owner Author

vito commented Nov 28, 2021

hmm this is basically done - don't have time for a Treesitter syntax, but the README has pretty clear install instructions now, including the LSP setup

@vito vito closed this as completed Nov 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant