mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
lsp config
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
{
|
||||
programs.nixvim = {
|
||||
globals.mapleader = " ";
|
||||
diagnostics = {
|
||||
virtual_lines = { only_current_line = true; };
|
||||
virtual_text = true;
|
||||
};
|
||||
opts = {
|
||||
autoindent = true;
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
lsp-format.enable = true;
|
||||
lsp = {
|
||||
enable = true;
|
||||
inlayHints = true;
|
||||
servers = {
|
||||
bashls.enable = true;
|
||||
gopls.enable = true;
|
||||
@@ -16,6 +17,7 @@
|
||||
none-ls = {
|
||||
enable = true;
|
||||
sources = {
|
||||
completion = { luasnip.enable = true; };
|
||||
diagnostics = {
|
||||
golangci_lint.enable = true;
|
||||
statix.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user