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