mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 04:02:55 +00:00
prevent infinite neovim lsp log files
This commit is contained in:
parent
2c663347ee
commit
88d52614a9
@ -29,6 +29,9 @@
|
|||||||
lua = ''
|
lua = ''
|
||||||
${builtins.readFile ./lsp.lua}
|
${builtins.readFile ./lsp.lua}
|
||||||
|
|
||||||
|
-- Prevent infinite log size (change this when debugging)
|
||||||
|
vim.lsp.set_log_level("off")
|
||||||
|
|
||||||
require("null-ls").setup({
|
require("null-ls").setup({
|
||||||
sources = {
|
sources = {
|
||||||
require("null-ls").builtins.formatting.stylua.with({ command = "${pkgs.stylua}/bin/stylua" }),
|
require("null-ls").builtins.formatting.stylua.with({ command = "${pkgs.stylua}/bin/stylua" }),
|
||||||
|
Loading…
Reference in New Issue
Block a user