dockerfile-language-server
dockerfile-language-server copied to clipboard
Setting for formatting with spaces instead of tabs
I would like to format using spaces instead of tabs.
@andrewrynhard Which LSP client are you using? This feature should already be supported.
@rcjsuen https://github.com/neovim/nvim-lspconfig
I must be missing something? I don't see how to do this.
I must be missing something? I don't see how to do this.
@andrewrynhard The LSP client is responsible for calling the language server with the relevant parameters. I think you're looking for the vim.lsp.buf.formatting
function? Not sure how you're supposed to send in options though. You should reach out to the NeoVim team to see what you're missing here.
I must be missing something? I don't see how to do this.
@andrewrynhard The LSP client is responsible for calling the language server with the relevant parameters. I think you're looking for the
vim.lsp.buf.formatting
function? Not sure how you're supposed to send in options though. You should reach out to the NeoVim team to see what you're missing here.
Got it. Sorry for the noise.