Update null-fs and formatexpr settings

This commit is contained in:
Alexander Rosenberg 2023-05-14 17:41:38 -07:00
parent f8ee7b4ee9
commit 9e00218179
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -28,7 +28,6 @@
(= client.name :null-ls) (= client.name :null-ls)
(= client.name :rust_analyzer))) (= client.name :rust_analyzer)))
:async true }) buf) :async true }) buf)
(vim.api.nvim_buf_set_option buf :formatexpr "v:lua.vim.lsp.formatexpr()")
;; Some telescope commands ;; Some telescope commands
(bind! :n :<leader>s "<cmd>Telescope lsp_dynamic_workspace_symbols<cr>" buf) (bind! :n :<leader>s "<cmd>Telescope lsp_dynamic_workspace_symbols<cr>" buf)
@ -126,8 +125,8 @@
:markdown :markdown
:tex ]}) :tex ]})
builtins.diagnostics.cmake_lint builtins.diagnostics.cmake_lint
builtins.diagnostics.codespell ;;builtins.diagnostics.codespell
builtins.diagnostics.shellcheck ;;builtins.diagnostics.shellcheck
(builtins.diagnostics.glslc.with (builtins.diagnostics.glslc.with
{ :extra_args [ "--target-env=opengl" ]})]))) { :extra_args [ "--target-env=opengl" ]})])))